We've got a requirement to create up to two different Salesforce records when a survey response is received. First one triggers always, and second one is conditional (based on the survey responses received).
On Salesforce, we want the second one to link to the first. So ideally, I'm looking for a way to get the objectId from the first workflow task, and use it as a reference in the second. If I try to do like the piped text reference code (e.g. ~{ch://OCAC_xxxxxxxxxx/objectId} ) as a specified value in the field mapping on the second SF task, it won't let me save, because it's not in the correct format.
Any clues on how I can make this happen? Can I set an embedded data item perhaps during the workflow after the first task? - couldn't see anywhere how to make that happen.
Get output of one Salesforce Workflow Task and use in a subsequent one?
Best answer by ColbyA
Do you have a need to have the conditional second record in Qualtrics?
Depending on how your objects are related, would this be better served with creating a flow in Salesforce to create the second record based on your conditions? That way you can carry over your object ID from the first record into the second and have a direct link instead of creating circular workflows in multiple systems.
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
