inputs empty when calling a subflow into legacy workflow run script activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hello Team,
I calling my subflow in a runscript activity of a legacy workflow which trigger upon a catalog item submission. I am passing the ritm number as input. Lable of input is 'RITM' and intrenal name is 'ritm'. when i added logs into runscript activity. i can see the ritm number. but its being passed to subflow.the run time value keep remaining as empty. please see below screen shots. Please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @HanumanthaRR ,
1)Have you copied this code snippet from the subflow? if not please do and use it in your workflow
2)Have you verified the RITM number is fetched correctly from your run script activity?
3)Test the subflow using "Test" option to see subflow works without any issues.
4)verify that you are looking at the correct subflow execution context(triggered from the run flow activity)
5)you can verify subflow trigger from the background script by passing a static RITM number (use the code snippet)
Please try these and will investigate further !
example:
Hope it helps!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @HanumanthaRR ,
If this response helped you, please accept or feel free to ask a follow up question.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
