Subflow input output type

test62
Tera Expert

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;

1 ACCEPTED SOLUTION

Amit Verma
Kilo Patron
Kilo Patron

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.

View solution in original post

3 REPLIES 3

Amit Verma
Kilo Patron
Kilo Patron

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.

Ankur Bawiskar
Tera Patron
Tera Patron

@test62 

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?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

Thanks for replying. I'll check documantaion Workflow Studio input and output data variables, so accepted another answer as a solution.

Best Regards.