Hello all,
In our business, we have maintained the Lead stages as below
Requirement is to move to 'Initiate' stage whenever a lead is reactivated.
I am using below code to get the active stage name.
var activeStage = formContext.data.process.getActiveStage();
var stageName = activeStage.getName()
Can someone tell me, how to set the stage to 'Initate' .
Will setActiveStage work here ?
*This post is locked for comments