Switch Process in CRM Dynamics with Javascript error -
i trying switch selected process user's option set selection based on code below:
xrm.page.getattribute("processid").setsubmitmode("always"); xrm.page.getattribute("processid").setvalue(workflowid); xrm.page.getattribute("stageid").setsubmitmode("always"); xrm.page.getattribute("stageid").setvalue(processstageid); xrm.page.data.entity.save();
however, when code runs following error:
the traversed path should end new active stage.
i have checked guids processid , stageid , believe valid.
any ideas why error occurs , process not change?
Comments
Post a Comment