on 12-20-2018 8:13 AM
Hi Experts,
I am working on enhancement, where I need to trigger notification add action when 'Reading field' value is greater than upper range in Read measuring point transaction.
I have added the sub-action 'ZNotificationAdd' in the main action of the '
InspectionRoundsStart'
I have written execution rule for the 'ZNotificationAdd' sub-action, but still the sub-action is not getting triggered.
below are the 2 rules I have written but both rules are not triggering the sub-action
Please suggest me how should I proceed to trigger the sub-action. can anyone please help me when I am going wrong.?
Debugging as Mark suggest should help reveal the problem. Need to make sure that the rule is being run within the context of the expected object.
Note that IF is not needed in the rules you are writing. Simply use the GT or LT functions which will return a Boolean value as required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Madhukar,
One idea is to use the Agentry Test Environment Debug Rules during the point in time you access your transaction. If enabled, this debug rule will print out the logic of each sequence of your rule. For example, it may show you what the value was returned (True or False) and others. This technique of using the WPF ATE (Rule debugger) is what is commonly used.
Check this link out for more details: https://help.sap.com/doc/d9c75eebcfa840c8a4aa4b0e6a8136de/3.0.14/en-US/c00b5b37f7724959b43ae09bf2be1... (Check viewing the debug log link in it).
The point of this suggestion is so that you would know where in the sequence and the step is and you would know what is being returned by your rule.
So far, your rule looks okay. Other idea is to use 1 for true and 0 for false - just in case, it didn't like true or false.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.