- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2024 01:14 AM
Dear community members;
I'm trying to build Flow/Subflow and I'm a bit confused about the 'Type' parameter;
When I refer to the product documentation, there's no description about 'Record', 'Records' and so on.
Could someone please explain to me what does it mean each type;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2024 01:25 AM
Hi @test62
Type defines the datatype of the variable which you want to declare to be used inside your flow/sub-flow/action. Suppose, you want to store only numeric without decimal, so you will prefer a variable of type integer. Similarly, if you want to store only string literals, you will declare the variable type as String.
Refer Workflow Studio input and output data variables
Thanks and 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
‎12-17-2024 01:25 AM
Hi @test62
Type defines the datatype of the variable which you want to declare to be used inside your flow/sub-flow/action. Suppose, you want to store only numeric without decimal, so you will prefer a variable of type integer. Similarly, if you want to store only string literals, you will declare the variable type as String.
Refer Workflow Studio input and output data variables
Thanks and 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
‎12-17-2024 01:30 AM
the type helps you determine what should be the type for the output variable
it could be string, GlideRecord, Date, Date/time etc
what's your business requirement here?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2024 05:50 PM
Thanks for replying. I'll check documantaion Workflow Studio input and output data variables, so accepted another answer as a solution.
Best Regards.