Replacing a value in multivalued attribute - Action workflow
There are two attributes: PositionType(singlevalued attribute) and PositionTypes (multivalued attribute). Adding or changing PositionType should reflect in PositionTypes (multivalued attribute). Question: I can add the new value of PositionType to PositionTypes. But how can I delete the old value of PositionType from PositionTypes. I couldnt find a lookup grammar to code in Action workflow. I tried using /Delta and /ComparedRequest.
November 16th, 2012 6:32pm
Yes, that's what I would recommend. Just be aware that if the change comes through the sync service, it will bypass your authorization rule - otherwise, you should be good.Frank C. Drewes III - Architect - Oxford Computer Group
November 19th, 2012 1:53am
Thanks Frank. So, is there any other solution which can be enforced by sync rule?
November 21st, 2012 11:00am
So are you saying that if PositionType changes from A to B.. You want to add B to PositionTypes and remove A from PositionTypes?Frank C. Drewes III - Architect - Oxford Computer Group
November 21st, 2012 5:47pm
November 21st, 2012 6:41pm
Frank, I got the solution. I used A) authorization workflow B)in action activity, I used //target/PositionType (to get the old value) and //delta/PositionType (to get the new value). Thanks!
November 21st, 2012 9:19pm