I have set up an automation flow and for most parts it is working as intended but it fails at updating the asset attribute and I am at a loss on how to update it. Please see attached screenshots to see how the flow is setup - the lookup object is working correctly and the two log steps return the right information.
But the automation rule fails as it is not able to find the lifecycle attribute for the ioCardObject reference. See following error message. The error message makes sense as CP1-3868 doesn't have an attribute called Lifecycle, but I am trying to make it reference ioCardObject which is where I think i am failing.
My edit object asset options do not include mechanism to change reference type and I was not able to find any documentation on how this is supposed to be setup.
I would really appreciate if I can get some feedback from others who might have implemented this successfully.
Two things:
- the advanced smart value branch should be changed to the for AQL branch - this way you can use the edit object one - it will identify the object and the attribute(s) that exist so you can populate it - you can directly add the lookup objects AQL query here
- idk if necessary, but I have issues with using object smart values - create a variable for this string instead.
Thanks @Andrea Robbins
Do you know why the lookup objects doesn't work or am I not using it in the right application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great question! So the concept here is that it does work in the sense that it is querying the assets, but when you do the advanced smart value branch, you don't have the context to say within that edit object that you are editing the object mentioned in the smart value within that loop.
The way you had it set up before was actually saying you were trying to edit the object that triggered the flow vs changing it as recommended to the for AQL branch is saying edit this lookup object NOT the trigger object - providing new context.
Sort of hard to explain over words, but hope this helps,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.