Form submission from catalog

nikhitha24
Tera Guru

Hi Team,

Can anyone please help me on the below query.

 

I wanted to create one task name is  Confirm if a Cell/Mobile Phone is required.

for this i have created one catalog item, template, and we have created the flow to create the task 

task is creating when the HR case is created but when we are impersonated the HM and trying to  submitting the task from portal 

is mobile phone is required?

Yes

No

nikhitha24_0-1697448776516.png

 

when i click the Yes or NO as response task is not closing still it is showing in HM queue with state as ready

Please refer the below screenshots.

nikhitha24_1-1697448797574.png

nikhitha24_2-1697448806507.png

 

 

6 REPLIES 6

Danish Bhairag2
Tera Sage
Tera Sage

Hi @nikhitha24 ,

 

Did you check the flow context. did it execute that step for the ticket which you are referring. Also the User which u impersonated i hope that person has access to update the record in that table.

Else please check the run as field for flow designer under properties. U can make that as "system" user instead of "Run as user who initiates".

 

Mark my answer as helpful & accepted if it helps you resolve your issue.

 

Thanks,

Danish 

 

@Danish Bhairag2 @Peter Bodelier 

We have checked the the user dont have access to change the state 

we have checked in the history task it is not updated.

Then your next step will be to either run the flow as system. Or if you need to run it as 'Run as user who initiates' to grant additional roles to the user running the flow in order to close it.

 

Running Flows with Alternate Permissions | ServiceNow Developer


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

@nikhitha24 , i agree with peter, you can either grant the role which is required to update data in that table. If not allowed by client then u can change the run as to system in flow designer.

 

Mark my answer as helpful & accepted if it helps you.

 

Thanks,

Danish