ECMA script for transitioning to specific workflow step | Community
Skip to main content
August 26, 2024
Solved

ECMA script for transitioning to specific workflow step

  • August 26, 2024
  • 2 replies
  • 544 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Dipti_Chauhan

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

2 replies

Dipti_Chauhan
Community Advisor
Dipti_ChauhanCommunity AdvisorAccepted solution
Community Advisor
August 27, 2024

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

kautuk_sahni
Community Manager
Community Manager
September 4, 2024

@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