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

umaaggarwal
Giga Guru
Giga Guru

find_real_file.png

Rajat singh2
Kilo Guru

You can just go to your workflow and open up the manger approval activity and just write the code as shown in the image.

 

If still you face any issue, please share with us the screenshot of code you have written in your activity.

 

 

 

find_real_file.png

 

 

 

 

 

 

umaaggarwal
Giga Guru
Giga Guru

Hello Ziaur,

 

I have got the issue, Actually there is one default workflow setup on sc_request table which says "autoapprove request if price is <1000 " that is why my workflow is not being executed correctly.

 

Now, my question is that how do i disable that workflow without deleting it ?

 

Regards!

 

Set it to inactive in the workflow editor.

Ziaur Rahman1
Tera Expert

Hi Uma,

 

If you want to stop attaching "Service Catalog Request" workflow to request table then change the value of "If condition matches" field to "--None--". By doing this change workflow will not attach to request automatically, unless you write a script to start the workflow.

 

find_real_file.png

 

Thanks

Ziaur Rahman