Session 20-Debugging-Events, AgentResolution, Background Methods
Session 20-Debugging-Events, AgentResolution, Background Methods
Event Debugging
If here exist any check FM , then we can debug it by placing the debugger in the FM.
Suppose the code is wriiten in Check FM as below.
Now go to SWE2 and associate this check FM with the event and BOR.
Trigger the event in SWUE and provide the BOR , Event name , Object key and click Create Event button.
Debugger will get stopped and exception will be raised , hence workflow will not get trigerred.
Execute SWEL , the exception is thrown and workflow is not trigerred.
Write the below logic to fetch the agents and place the debugger.
Assign the FM created with the Rule