Add user to Participant list

IPF Digital AS August 23, 2016

Hello,

I am trying to find solution to add some user as a Participant but not update all list. I am going to provide example:

1.) I use field Approver in issue which always store information about one user who is Approver

2.) In some WF transition I require action from Approver

3.) I copied value from field Approver to Request Participants in post function to allow see issue on Customer Portal for Approver

Where is the problem?

Request participants field is multi picker field. If stores for example users x, y, z and next post function copy value b from field Approver it finally stores only b value instead of x,y,z and b.

 

Do you have some idea?

 

3 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2016

The copy-value function is not cumulative - it overwrites the list in a field with what was in another.

You'll need to find/write a post-function that reads the current list and adds a the user named in approver to it.

0 votes
IPF Digital AS August 23, 2016

Thanks for quick response.

Just to clarify- you mean about script workflow function?

 

 

0 votes
Deleted user August 23, 2016

You might try: Copy value...image2016-8-23 9:39:15.png

and use the Add source values option...

image2016-8-23 9:38:19.png

 

I didn't test it but it might work for you.

Suggest an answer

Log in or Sign up to answer