Skip to main content
Solved

Salesforce ETL step

  • August 15, 2024
  • 5 replies
  • 140 views

Forum|alt.badge.img+4

Hello Everyone!

Does someone knows how to use the expression builder of Salesforce ETL Step in the CLM workflow? I am having a slight issue with using the expression builder in the document generation form field. The problem is the DocGen forms that we’ll use is dynamic that’s why we’ve tried to make use of the expression builder but it is having an error on that process. The variable that we are declaring in the expression builder is a String Variable. Can someone help me how to use the expression builder on this step properly?

I will attach here an image about the step and my code on how I declared the DocGen form using C#.

 

 

 

 

 

Thank you for your help!

 

Regards,

Alex

Best answer by Scott Brooks

I would suggest maintaining a csv file with 2 columns to manage the mapping of Form Ids.  Column 1 would be a single value that you would use to lookup the right Id to use and you could use a Update Variable from CSV step to retrieve the right Id before needing to load into the ETL step.  This would help simply this config and also help in that could have a different csv lookup for UAT vs. PRD.

View Original
Is this content helpful?

5 replies

Scott Brooks
Conversation Starter
Forum|alt.badge.img+4
  • Conversation Starter
  • 7 replies
  • September 11, 2024

Based on the error message, it looks like this is looking for the Guid that corresponds to the FORM you have created.  If you click on the Form you want want to use, you can grab the “configUid=...” portion of the URL and use the guid that is available there.  You will need to create a mapping or use logic if you are planning on substituting the guid, and vis-a-vis the form, for different scenarios.

This will require special consideration as part of deployment as the Id’s will likely be different in UAT vs. PRD.


Forum|alt.badge.img+4
  • Author
  • Conversation Starter
  • 16 replies
  • September 12, 2024

Thank you for your response. The approach you suggested should work, but given that we have over 30 or 40 DocGen forms in use for this process, maintaining them could become quite challenging. Additionally, as you pointed out, the IDs differ between UAT and production environments, which adds another layer of complexity.

How I wish we could simply use the DocGen Configuration name in the expression builder instead of manually extracting the UID from URLs. It’s odd that while the input selection shows the form names, we can’t use them directly in the expression builder.

 

I appreciate your help and will consider how best to manage these differences. Thank You again, Scott.


Scott Brooks
Conversation Starter
Forum|alt.badge.img+4
  • Conversation Starter
  • 7 replies
  • Answer
  • September 12, 2024

I would suggest maintaining a csv file with 2 columns to manage the mapping of Form Ids.  Column 1 would be a single value that you would use to lookup the right Id to use and you could use a Update Variable from CSV step to retrieve the right Id before needing to load into the ETL step.  This would help simply this config and also help in that could have a different csv lookup for UAT vs. PRD.


Forum|alt.badge.img+4
  • Author
  • Conversation Starter
  • 16 replies
  • September 12, 2024

Thank you for the suggestion! This is a brilliant idea, and I’ll probably give it a try. It seems like a great way to simplify the configuration and handle the differences between UAT and PRD. I’ll keep you posted on how it goes.

Thanks again for your help!


Forum|alt.badge.img+1
  • Newcomer
  • 3 replies
  • March 7, 2025

Is there an example of using the ‘Configuration Variable’ with A SOQL Query in an Update Variable Value Step?

https://support.docusign.com/s/document-item?language=en_US&bundleId=yks1643320936212&topicId=man1576610096178.html&_LANG=enus

Configuration Variable: Specifies an XML variable whose value contains a valid SOQL query describing the data to read from the Salesforce record. The variable’s value must also contain the schema of the output variable that stores the result. A configuration variable works similarly to a configuration document, except the XML variable’s value gets crafted directly in the workflow. In the Update Variable Value workflow step, you use an expression to craft the SOQL query. The step then assigns the query to an XML variable. Use a configuration variable when your query contains dynamic parameters. The parameters can be dynamically inserted into the SOQL query when using the expression. An example is a query with a WHERE clause that uses a data point whose value might change for each workflow.

The ETL step keeps failing; what would the Update Variable Value step look like?