cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the logic flow of the workflow?

Former Member

Hi,

I am working on my custom workflow and I created some steps and logic. Now I have several user decisions and logic coming from them. One of them is the option to cancel the document so that I would like to finish my workflow.

How can I change the line coming from the decision to come to the Workflow end? How to change the logic lines of Workflow in SWDD, drag'n'drop doesn't work.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

To complete the workflow at any level you can use the Process Control Step type.

In the process control step, select the 'Complete workflow' option. When the workflow reach this step thw whole workflow will be completed.

Also, Please search the forum before asking question's.

Thanks,

Viji.

Former Member
0 Kudos

Hi,

Thank you for the reply. Anyway that is not everything I asked.

Could you please explain, how can I change the line logic of the workflow. I would like one of the lines coming from user decision come into before another step, not into the end of the workflow. Is it possible to drag'n'drop it so that the logic is changed?

Thank you

Former Member
0 Kudos

Hi ,

If u want to move the step from one place to other place means select the step , right click copy the step then

Pleace the cursor where ever u want and paste it .

Better create a new version and do the modification ,

And in any point of the time if u want to close the workflow

example ; If some condition satisfied then u want to complete the workflow means ..

after condion step insert a Process contril step - complete workflow , it will complete the workflow once condition is satified

or failed accroding to ur requirement

Former Member
0 Kudos

Let me explain what I would like to achieve.

I have a user decision with 2 options.

One option comes with a line with two steps, send email1 and send email2.

I would like to change the logic of the workflow so that option Two comes between steps of sending email, so that user selects option Two, email2 is sent.

How to change the line coming from the user decision directly to the end of workflow?

Former Member
0 Kudos

Hi.

It is not possible to directly drag and drop the workflow completed step to current step.

So for this purpose you can use the Process control step. At any point in your workflow you can complete it.

Use process control with 'Complete Workflow' option, to complete the workflow at the Rejection branch after user decision.

So if the use rejected the request, then ot will reach the process control step and complete the workflow.

Thanks.

Former Member
0 Kudos

Hi,

You can call the process control step in Email2 branch after the Send mail step.

So when ever user selects the option 2, Email will be send and after that workflow will be completed.

Thanks.

Former Member
0 Kudos

Hi

I have followin logic:

>START

> |

> |

>USER_DECISION

> | |

> | |

> | MAIL1

> | |

> | |

> | MAIL2

> | |

> \ /

> \ /

> END

And I would like to change first option coming from user decision into:

>START

> |

> |

>USER_DECISION

> | |

> | |

> | MAIL1

> \ |

> \ |

> \ |

> \ |

> |

> MAIL2

> |

> |

> END

Former Member
0 Kudos

Hi,

in the mail2 branch, just call the process control step.

Then test the workflow and check the workflow status.

It will be completed once reach the process control step.

Thanks.

Former Member
0 Kudos

I tried to draw it but is is hard in text mode here

I want to achieve that:

When user selects Option1, only Mail2 is sent.

When user selects Option2, Mail1 and Mail2 is sent.

So I want to change the line logic coming from User decision, how to change that?

Former Member
0 Kudos

Hi,

Hopefully SDN will provide the Draw option in future.

When user selects Option1, only Mail2 is sent.

It is working fine for you. Right?

When user selects Option2, Mail1 and Mail2 is sent.

In this case, put your mail1 and then mail2 in same branch. Just copy the Mail1 and paste it in Option2 branch.

After this call the Process control. Please test it and let me know if any issue's.

Thanks.

Former Member
0 Kudos

I have such Workflow:

[http://img718.imageshack.us/img718/1774/63824499.png]

I would like to achieve something like this:

http://img820.imageshack.us/img820/4814/56079955.png

How to do that?

Former Member
0 Kudos

Hi,

Just copy the user decision step from the other branch, to the current branch.

If you have any tasks to find the agents in the other branch, then copy that step also from other branch and paste it to the current Branch.

You cannot directly route the workflow like as like tour picture. But it can be achieved by the above hint.

Please change the workflow according to the hint.

Thanks.

Answers (0)