Jump to content

Look up Email address from selected name in BPM


QEHNick
 Share

Recommended Posts

Here's my scenario;

On a progressive capture I have a selection box populated with user names and stored in a custom field.

image.png.6daaa4add2330fc6c5620d82f281bea1.png

Now in my BPM I want to use that info to find the associated email address for that user.

I've had a good rummage around, but can't seem to find any way of doing this. Has anyone any ideas?

Link to comment
Share on other sites

  • 1 month later...

OK...this is how we do it (there may be other ways, but I know this works!!)

So, in the Progressive Capture, do as you've done and add the 'data query' provider to get a users' details.

Then in the BPM ensure that you add a 'get progressive capture answers' node:

image.png.48c68780fb3b743083ecb1c224f64788.png

 

Then add a 'get user details' node and point the 'userid' option to the RAW VALUE of the user selection field in the PCF -so:

 image.png.b24b7c3d589ff6b1716d937e7d3d2954.png

 

 

image.png.449d83fd817d1b8f7ef94218db4d3b80.png

 

image.png.3db84c2415f7f85929344d365bc90468.png

 

 

You can use the fields from the 'get user details' node to update other fields, send emails, change customers etc....

 

That's probably not explained so well, but hopefully it'll help? 

 

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...