Quantcast
Viewing all articles
Browse latest Browse all 9760

Assigning value to a property in Execute Rule

Hi Gurus,

     I am trying to assign value to a object property in an execution rule. I am not able to do so. Please help me with the same.

 

following are the steps that I have followed.

 

I have created an action "PhysicalInventoryMaterialCount" with Group "Material" & Object "Material"

Image may be NSFW.
Clik here to view.
scn0.JPG

after this, I have created an Action Step "ActionStep1" which has Execution Rule "ExecuteIfCheckSumforQRCodeisValid" & calls Action "MaterialsCount"

Image may be NSFW.
Clik here to view.
scn1.JPG

This Rule has Logic of Validating Check Sum. After successful Check Sum validation user will be able to We have to update value of a property and for that I have written an Update Rule "UpdatePhysicalInventoryIDProperty".

Image may be NSFW.
Clik here to view.
scn2.JPG

 

This Update rule will update value of ID Property, which is required for the "MaterialsCount" Action. (Currently Value for ID is Hardcoded inside rule)

Image may be NSFW.
Clik here to view.
scn3.JPG

 

Now, the problem is, when I run my rule I get result as true for my check Sum rule and also in update I get result as true but, the value of this property is never updated & I get error Transaction Target empty. <<Object>> not found.

 

Image may be NSFW.
Clik here to view.
scn4.JPG

I have also attached Logs along with this. Please check the same.

 



Viewing all articles
Browse latest Browse all 9760

Trending Articles