Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Change Lead stage on reactivation

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>