Workflow activity is getting skipped

umaaggarwal
Giga Guru
Giga Guru

Hello Experts,

 

I need help with workflow

 

I have started creating a requested item whic can be requested on anyone's behalf i.e. While raising is I have flexibility to choose "requested for" , now the requirement is that approval should go to requested for's manager and then requested item should go in fulfillment status

I ave created requested item and a workflow , however it is skipping the approval step and going to fulfillment stage directly. 

 

Using client script on requested item table, i have found that manager is being setup correctly, however still the workflow is not being followed. 

 

Can someone please help here ?

 

Regards!

 

 

 

 

9 REPLIES 9

Ziaur Rahman1
Tera Expert

Hello Uma, 

Can you post script which you have written in approval activity?

 

Generally approval activity get skipped when it could not reach approver, then it did not get stucked but it get skipped. 

 

Thanks

Ziaur Rahman

HI Rahman,

 

I am not using any script as such . I have added a workflow activity shown below and nothing else. 

For finding the approvar, as I said, I used client script to check the manager on ritm form and it is giving me correct value, which means approver is getting set to correct value. 

 

Thanks!

 

find_real_file.png

Hi Uma,

I suspect one thing here that is, your workflow activity transitions must have been defined incompletely.

Use "Validate Workflow" button to check whether everything is fine. If you get any warnings/errors resolve them to go further.

 

If everything seems perfect at above level, do this:-

Raise a request item and check its workflow context. Post the screenshot of the workflow context and the "Approval Activity beahviour in that context".

Thanks,
Saikiran Guduri (NOW)
Associate Certificate Engineer | ServiceNow Store Apps
(Please mark the answer as correct answer/helpful/accept the solution if it helps)

 

find_real_file.png