How to assign a subject person to a lifecycle event/journey

EJ13
Tera Contributor

Hi all,

 

I'm working on a journey that contains a lifecycle event. The journey is triggered by a record producer that, among other things, has a reference field to select a user from the user table. I would like to make this user the subject person of the HR case, but I am not sure how to go about doing this. I've stopped it from defaulting to the submitter of the form as the subject person, but now the case has no subject person at all. How do I set the user selected on the record producer as the subject person?

 

Thank you!

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@EJ13 You can set if from the record producer script as follows.

 

current.subject_person = producer.<variable_name>; //Replace <variable_name> with name of the user reference field on the record producer.

 

 

View solution in original post

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@EJ13 You can set if from the record producer script as follows.

 

current.subject_person = producer.<variable_name>; //Replace <variable_name> with name of the user reference field on the record producer.