Pass a variable value into 'Parameter 1' in a Create Event workflow activity

Eric K3
Kilo Guru

We have a need to send an email notification to an email address that is entered into a field on a record producer as a string. Not sure how to do this.

The record producer form has a string field for 'email address.' The workflow needs to be able to send an email to the value in this field. I am not able to use a notification activity because I cannot use a string field in the To: field. I am wondering if I can somehow pass that variable value into Parameter 1 of a Create Event activity.

1 ACCEPTED SOLUTION

This can be done with a Run Script activity, not requiring Orchestration. I just had to assign the variable correctly...



=====================================


var eventParm1 = current.variables.u_email;



gs.eventQueue("request.application.support", current, eventParm1);



=======================================



Thank you for your help. You led me in the right direction.


View solution in original post

5 REPLIES 5

Mike Patel
Tera Sage

Add "Create Event" to your workflow and add variable that has email address.



find_real_file.png


I tried the question/variable as mapped to a field as well as non-mapped to a field, same error.



Create event error.PNG


If you are on Fuji you have create custom Create Event. I had same problem.



find_real_file.png


find_real_file.png


find_real_file.png


Unfortunately, we do not use Orchestration so I cannot create a custom event.



Any way to do this without Orchestration?



I tried a Run Script activity...


find_real_file.png



and now get this error...


find_real_file.png