cancel
Showing results for 
Search instead for 
Did you mean: 

Vendor Master Workflow is not triggered successfully

emylah
Explorer
0 Kudos
184

Hi all,

I am new to WF and have an issue as stated in the title. The scenario is whenever the vendor master was changed/created, the workflow will trigger to get the approval from superior. Previously the workflow triggered successfully but now it is not. I looked in the graphical workflow log, found difference at no event was created as shown below.

emylah_0-1723103748697.png

Compare to successful WF, there are event created as shown below. 

emylah_1-1723103880263.png

As for the failed WF, basically it looks like it failed at Task Get VM Items. 

emylah_2-1723104028260.png

The Task detail is shown as below.

emylah_3-1723104174841.png

Please let me know what is the problem, thank you in advance. 

 

SBach
Product and Topic Expert
Product and Topic Expert
0 Kudos
Did you trace the event via SWELS/SWEL. If there is no event, no instance of the BO is handed over to the workflow container-> can´t work. Check also event binding. Raise an event SWUE in test / QAS after activating the trace.

Accepted Solutions (0)

Answers (1)

Answers (1)

emylah
Explorer
0 Kudos

emylah_1-1724319491236.png

I did trace the event and found the event was created. Both of them looks same but one of them failed to get VM items.

Below is success WF.
emylah_0-1724319435659.png

Below is failed WF.

emylah_2-1724319594077.png

I'm not sure why one of the WF failed to get VM item as shown in the graphical workflow log. 

Please teach me how to troubleshoot the error. 

 

 

keohanster
Active Contributor
0 Kudos

If you can recreate this scenario in your Dev environment, you can temporarily change any of the background tasks to be dialog, with yourself as the agent. Then set a breakpoint within the method (perhpas Get VM items) and you can debug to your hearts content. But of course, don't forget to switch the task BACK to a background task and save. It would not be good to transport that to a different environment.

Also, if you cannot recreate the scenario in Dev, you can still set a breakpoint in the Get VM items method, and debug from the BOR.  This might not show you everything you need if the master data is changed, but it's a place to start.