Skip to main content
June 26, 2021
Solved

How do I send list of dictionary from start process smart service to send email smart service which is another process model?

  • June 26, 2021
  • 1 reply
  • 0 views

Hello,

I have a script task which retrieves first name and email id from the database as list of dictionaries. I want to pass it to the start process smart service as process parameters, so that it gets passed to send email smart service which is in another process model.

I had selected "Run one instance for each item in <process variable name which stores the list of dictionaries>" thinking that it would iterate through all dictionaries, but it didn't work. It gives the error : 

"Argument input to Start Process Smart Service must be a dictionary"
Thank you.
Best answer by leeaan0001

I got the answer.

I had to put the the process parameter in dictionary format from the expression editor :

{

firstName : pv!<process variable name>.firstName,

email : pv!<process variable name>.email

}

1 reply

leeaan0001AuthorAnswer
June 26, 2021

I got the answer.

I had to put the the process parameter in dictionary format from the expression editor :

{

firstName : pv!<process variable name>.firstName,

email : pv!<process variable name>.email

}