Workflow issue with Order Guide

venkateshdhanap
Tera Contributor

Hi All,

I have created Order guide with 3 catalog items and i have mentioned workflows in all 3 catalog items itself.If i try submit each catalog item separately   out of Order guide, all 3 working fine.

Issue is happening when submit from order guide

When i submit any 2 items from the order guide both Ritms working fine.But when i submit all 3 items at a time workflow is not triggered for 1 or 2 items for some times.

Some times it is triggering workflow and sometimes it is not triggering workflows.If submit 10 request 2 to 3 requests does not triggering workflow for its Ritm.

I am very confused because issue is not happening consistently.

Also i confused how to investigate this issue(Where should i check if order guide not triggers workflow)

Please kindly anyone can help me out to solve the issue

This the error showing if open workflow of the Ritm

find_real_file.png

Thanks

Venkatesh

5 REPLIES 5

awessel
Kilo Guru

Can you check the Request to see if there's a workflow running against it? I'm wondering if having 3 items crosses some price/cost barrier that triggers a Request-level approval. I believe there's an OOB Request approval workflow that's based on price and it keeps the RITM workflows from triggering until after that approval has been granted. Hope that helps.


Hi Adam,


All requests having same workflow like this bigin-end


find_real_file.png


Mohammed Lais1
Mega Guru

Hi Venkatesh, I am also facing the same issue, for some items inside order guide workflows are not getting attached. Have you found the exact reason/solution for this issue?


Hi Mohammad,
Actually I have created multiple Ritms from one the Item's workflow via script.
I that script I am attaching workflow by using "var context = w.startFlow('sys id of workflow', 'Ritm sys_id','insert',vars); "


System is not triggering workflow for some items when multiple workflows triggered at same time.So I have added 5 sec timer before creating next Ritms.Hence issue is not happening.Please try to use 5 sconds timer beofore running big scripts or triggering workflows for multiple items.This may resolve your issue.



Thanks


Venkatesh