Expand my Community achievements bar.

ECMA script for transitioning to specific workflow step

Avatar

Level 4

Can some one help with ECMA script/library method which can transition to specific workflow step?

 

Example: 

If (true)

transition-to- step..

 

 

Note: I want this to be handled in ECMA script. GoTo step will not help in my case.

 

Thanks

 

2 Replies

Avatar

Community Advisor

Did you try "com.adobe.granite.workflow.model.WorkflowTransition" methods. looks like there are a bunch of different ways to transition between workflow steps using this.

I haven't tried them out myself yet, but thought it could be worth sharing in case it ends up being helpful for you

Avatar

Administrator

@girishb83316758 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni