Question
Registration parameters of a transaction are passed from BluePrism. How to retrieve them in Vantage and fill a field with the parameter's value?
Answer
If it is required to populate some field with the registration parameter value, and the same field exists in all Document Skills used in the Process Skill, then it will be more convenient to assign the value via Custom activity in the Process Skill.
The sample script for the Custom activity is the following:
var doc = Context.Transaction.Documents[0];
doc.GetField("Custom Parameter").Value = Context.Transaction.RegistrationParameters["Parameter Name"].Value;
The script for the Advanced Script Rule in the Document Skill is the following:
Context.GetField("Custom Parameter").Value = Context.Transaction.Parameters["Parameter Name"].Value;
Additional information
AU Help: Setting Up Advanced Script Rule
EU Help: Setting Up Advanced Script Rule
US Help: Setting Up Advanced Script Rule
AU Help: Setting Up Custom Activity
Comments
0 comments
Please sign in to leave a comment.