Flow 'create or update record' not updating

RichGK1
Mega Expert

Can someone tell me why the state does not update to 'In Progress' in the Flow?

The inbound email triggers the flow OK and the condition action evaluates to TRUE so should set the incident state to In Progress.

Thanks,
Rich.

find_real_file.png

1 ACCEPTED SOLUTION

Can you expand your if condition and show us how you have defined it. 

Create and Update Record, Looks for the table name and if the record already exists in the table , it updates the record or else it creates new.That is why there is no record pill.

 

Additionally, You are not going to create a record because this condition is running only when INC is on hold status (means record already exists) , then why are you using Create and Update record action and  not update record action.

 

find_real_file.png

View solution in original post

10 REPLIES 10

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

What is the flow state for the action "Create or update incident Record"? You can check this via execution details tab.

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/concept...

 

- Pradeep Sharma

Here is the flow state for the create or update incident record

find_real_file.png

rajneeshbaranwa
Giga Guru

You should be using update a record action and use Trigger -> Incident Record in Record pill. 

This will update the incident record. Currently there is no reference of which incident record you are updating.

This is an inbound email trigger so I would have thought that the Ref:MSG1182487 in the body of the inbound email would ensure that the correct table was referenced and available as a data pill.

How then does one reference the correct table on an inbound email trigger?