Output to event properties

I am trying to find a way of assigning an output back onto my scenario. 


So I have a scenario to create a new incident in Status page which works fine and returns a set of output. 

output['Incident ID'] = respBody.id;

Now I want to save that to the scenario so have a dummy field (SP_INCIDENT_ID) which does not appear on the form so that later I can use it to make an update of the incident on status page. 

So I imagine I need to code something like 

event.properties[‘SP_INCIDENT_ID’] = output['Incident ID']


Please sign in to leave a comment.