Restructuring Flow Design

abhisek
Tera Contributor

Hi All,

 

I have a flow design for a particular catalog item which has 140 steps.

I have to restructure the flow like the way so that the number of steps should be decreased but the logic remains the same.

 

Can anyone please help me out with this, it is urgent.

 

Thanks in advance.

 

Regards,

Abhisek Chattaraj.

6 REPLIES 6

Hi @Sandeep Rajput 

Thanks for your time and reply.

I would like to let you know; in my scenario every condition is different based on what task is getting created and email is sent for both the 'do the following in parallel' activity. No step is common.

So now could you please let me know how can I proceed with this restructuring.

 

Thanks&Regards,

Abhisek Chattaraj.

Hajar BENJAHHAR
Mega Sage

Hello @Abhisek , 

 

To reduce the number of steps in your process, you might to break down your flow into blocks. For each block, create a subflow, which can be integrated into your main flow. 

 

You could design as follow : 

  • Subflow S1: this subflow handles the creation of a single task and sends out an email. 
  • Subflow S2: this subflow checks a specific condition and, if met, triggers Subflow S1 to create the task and send the email. 
  • Subflow S3 : this subflow checks the status of tasks, obtaining the state to set to the ritm further. 

 

In your main flow, you would start by executing the look up record to fetch the ritm. Then, you would call subflow S2, followed by a wait condition, and proceed to integrate Subflow S2 again for a second time of task creation and email notifications. Finally, you would add subflow S3 to retrieve the task status, set the RITM state based on the output, and finish by calling an update to set the status to ritm (set complete or incompete). 

 

I hope this logic will help you in restructing  your flow.

Best regards, 

Hajar