We need to map the reviewer in a workflow to a custom persistent property ( of the itemRevision.
It is possible to fill a custom property with the workflow handler "EPM-set-property".
using this handler with the following arguments works:
-props = wei4_ISSUED_BY
-to_att_type = TARGET
Now I need to replace the value "TEST" with the reviewer. I have tried several values, like:
Maybe I need the options -from_att_type and -from_relation, but I do not know what values these options need to have (what is the reference of the workflow to the itemRevision, etc).
Ps we use TC126.96.36.199
Have tried with passing $REVIEWERS?
data types should match to set the property values.
Thanks for your response.
Yes tried $REVIEWERS, the value of the property now is $REVIEWERS.
Also Tried $REVIEWER. same result.
Is there anyone who can tell me the relation between the itemRevision and any workflow which has ran on the ItemRevision?
according to G-TAC it is not possible to fill an attribute with the name of user who has done the review (reviewer) by using EPM-set-property handler.
The only way to accomplish this is to write a custom handler.
Even in TC 10 it is not possible. There are several enhancement requests for this.
I think we may be having the same problem. The user/reviewer/responsible_party is a value on the workflow object and not on the item revision object. On top of this, the EPM-set-property handler allows you to set a system property like $CURRENT_DATE, but I cannot get it to set the reviewer. For instance, I've tried $RESPONSIBLE_PARTY and just RESPONSIBLE_PARTY and neither worked. Instead, it will put the literal string, so it can't resolve dynamic partipants.
to creeljd, yes we have the same problem. I hope the changes according to the ER's will be implemented soon.
If you have another solution, please share.