07-26-2018 09:08 AM
For ex:
User Task is consider as level1 and level2 , if level1 is approved then it goes to level2.if level2 is rejected i have to forward user task to level 1.
How can i achieve this scenario, could you please let me know.
07-30-2018 06:10 AM
Thank you Ryan Dawson, for giving suggestions to me. I am added one variable for flow for backward and forward.Now it's working fine.
07-27-2018 05:34 AM
i am sorry, am explained clearly to you.
1.level1 manager approves it shoulld go to level2 manager, if level1 manager rejects then the task should be complete.
2.if level2 manager approves then the task should complete, if level2 manager rejects then the task again redirect to level1 manager.
i hope you are able to understanding my problem.
07-27-2018 05:50 AM
Ok it does look like your diagram should do that. So your problem is "level1 approved successfully and level2 rejected the task, then task again will go to level1 it is not happened thorugh Spring with activiti"
So level1 is working as you would expect and using the outcome to decide the next step but level2 is not? What conditions do you have set on the outgoing sequence flows and what variable are you using for the condition in the xml of your process definition? I'd recommend looking at Getting started with Activiti and Spring Boot and how that example sets the "telephoneInterviewOutcome
variable as the exclusive gateway uses it to route the execution"
07-27-2018 06:16 AM
yes level1 is working fine what i am expected, level2 is also working fine when level2 is approved the task.
My problem is level2 is rejects it should go to level1 manger, for this problem what can i do.
I already read this blog (Getting started with Activiti and Spring Boot ).
In this blog they are showed only in forward way not backward way.
Thank you.
07-27-2018 07:14 AM
It doesn't really matter whether it is going forward or backward. The question is whether the value of the variable that is being checked in the sequence flow matches the condition. Anything you could share of the xml and java would help.
07-30-2018 06:10 AM
Thank you Ryan Dawson, for giving suggestions to me. I am added one variable for flow for backward and forward.Now it's working fine.
07-27-2018 04:28 AM
Below scenario i want to achieve using Spring framework with Activiti, Any one did the same scenario like this, could you please share your examples to me.
07-27-2018 07:35 PM
What is the condition you are checking for both the outgoing transactions of second exclusivegateway (i.e after the Accountant Approval). If you could share the .bpmn file it will give clear idea of what you are missing.
Your diagram seems to be fine, what you are missing here is are you setting the variable properly and the condition check on outgoing sequence flow.
07-30-2018 06:11 AM
Thank you venkatesh, for giving support to resolve this issue.
Explore our Alfresco products with the links below. Use labels to filter content by product module.