Passing array variable to Mail task

59 views
Skip to first unread message

sagar....@flowian.com

unread,
Nov 10, 2014, 6:23:53 AM11/10/14
to suppor...@runmyprocess.com
Hi Support Team,

I have one javascript array which contains number of recipients(Mail-ID). Then I set this array to a runmyprocess variable using RMPApplication.setVariable(name, value) method.

Can we pass this RMP variable which contains number of recipients to "To" field in Mail task.


Regards,
Sagar

Bidisha Das

unread,
Nov 10, 2014, 8:06:59 AM11/10/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi Sagar,
It should work .If not working,you can take a variable in process activity as name: ${variable name} from your WI.Then pass this variable in the recipient field of the email task as ${name}.Make sure your email ids do not contain any special characters like [" "]. It should be passed as email id1,email id2 otherwise it will throw error while running in acceptance mode.


Thanks & Regards
Bidisha

sagar....@flowian.com

unread,
Nov 10, 2014, 11:28:44 PM11/10/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi Bidisha,

Thanks for your help.


Thanks & Regards,
Sagar
Reply all
Reply to author
Forward
0 new messages