Flow Designer 'Cancel' flow requirement.

B_3
Tera Contributor

Requirement: Need to do via Flow Designer.

1) Need to update the State/Stage of RITM and Parent Request if RITM gets cancelled before Approval. (This is when 1 REQ has 1 RITM)

2) Only update the parent Request state to 'Cancelled' if all child RITMs are cancelled. (If 1 REQ has multiple RITM).

3) If parent REQUEST is cancelled (BEFORE APPROVAL ONLY) then all child RITMs (IF ALL NOT approved ) should be cancelled.

Having a Cancel button on portal for parent REQUEST (visible only if all child RITM's are pending approval) and for all individual child RITMs (visible only for those pending approval) so if 1 REQ has 1 RITM and if user cancel that RITM, state will be change to 'Cancelled' and that will be used as IF condition in Flow Designer.

 

We already have a flow designer working for Service Catalog (using as trigger) and is working for If Approved and If Rejected. Now we need Cancel flow in that designer as well but that too before approval.

5 REPLIES 5

B_3
Tera Contributor

Yes Olan,

 

Have implemented the same. Handling the change in state via script in Button on portal.