- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 08:56 AM
Hello,
I have a reference field on the RITM u_portfolio as well the field is found in the variables. What I need is when someone submits a request that I can pull the variable and set the portfolio RITM field. multiple requests and workflows will need to complete this same action. I have tired a couple things with run script in Workflow that are current.portfolio = current.variable.business_line; but that did not work.
Thank you,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:08 AM
I hope these screenshot can help. but you are correct. I have attached a screenshot of the Variable, and the RITM field. also on the last Screenshot you can see the "Line Of Business2" field is populated, but the "Portfolio2" field is not. Thank you!Referenced Variable
Line of business 2 values shown in the portfolio2 field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:41 AM
Hello @Mjennings ,
In the last screenshot - The field portfolio2 is showing in dropdown. Might be both fields are of different type thats why it is not populating value of variable. Please check the type of variable and field.
And then change your code with below
current.u_portfolio2= current.variables.line_of_business2
If you find it helpful please mark my answer as accepted solution and helpful.
Regards,
Vaishnavi Shinde
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 10:24 PM
Hi @Mjennings
Could you please elaborate on the requirement via some screenshots ? What I am able to understand is that you have a catalog reference variable and you want value of this variable to be populated on the RITM.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:08 AM
I hope these screenshot can help. but you are correct. I have attached a screenshot of the Variable, and the RITM field. also on the last Screenshot you can see the "Line Of Business2" field is populated, but the "Portfolio2" field is not. Thank you!Referenced Variable
Line of business 2 values shown in the portfolio2 field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:41 AM
Hello @Mjennings ,
In the last screenshot - The field portfolio2 is showing in dropdown. Might be both fields are of different type thats why it is not populating value of variable. Please check the type of variable and field.
And then change your code with below
current.u_portfolio2= current.variables.line_of_business2
If you find it helpful please mark my answer as accepted solution and helpful.
Regards,
Vaishnavi Shinde
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 10:29 PM
Hi @Mjennings
Can you please change your code as per below
current.portfolio = current.variables.business_line;
C |
If the provided solution meets your needs, kindly consider marking it as helpful and accepting it as the solution. This helps others who may have similar questions. |
Thanks and Regards,
Saurabh Gupta