Skip to content
Snippets Groups Projects
Commit e30ce328 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '1053496_CampaignParticipantStatusFix' into '2020.1.0'

1053496 campaign participant status fix

See merge request xrm/basic!236
parents 5ba855f2 9a40201f
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,8 @@ import("system.neon");
import("Campaign_lib");
import("system.vars");
var stepId = CampaignUtils.getDefaultCampaignStep(vars.get("local.value"));
neon.setFieldValue("$field.CAMPAIGNSTEP_ID", stepId);
\ No newline at end of file
if(vasr.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
{
var stepId = CampaignUtils.getDefaultCampaignStep(vars.get("local.value"));
neon.setFieldValue("$field.CAMPAIGNSTEP_ID", stepId);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment