Skip to content
Snippets Groups Projects
Commit 9a40201f authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon: Committed by Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1053496][Kampagne - Teilnehmer -...

[Projekt: Entwicklung - Neon][TicketNr.: 1053496][Kampagne - Teilnehmer - Kampagnenstatus in der ANzeige immer "Hinzugefügt"]
parent 5ba855f2
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