Catalog item Variables in Workflow

avinash21
Mega Contributor

Hi All

I am working on a integration for provisioning servers from Catalog items, Users from catalog item can fill the inputs , these inputs will be passed via a REST API to external app which will provision the VMs. I have created a REST Message and defined variables . I need help in how to map the user inputs to Rest Variables , is Workflow the correct approach or any other way it should be done?.

TIA

1 ACCEPTED SOLUTION

In a workflow, you can access variables in a similar manner. In scripts,



current.variables.variable_name



As for Orchestration, it automates simple or complex multi-system tasks on remote systems. For pricing, consult your ServiceNow rep.


Orchestration


View solution in original post

5 REPLIES 5

Chuck Tomasi
Tera Patron

Hi Avinash,



You can access your variables (e.g. from the current request item) in a business rule, for example as:



current.variables.variable_name



Scriptable Service Catalog Variables - ServiceNow Wiki


Thanks Chuck




Is Workflow a good approach or I should try something else and how the response and error can be handled?


You can do it with workflow. However, note that using workflow with integrations could get you in to Orchestration licensing (even if you don't use any activity packs.) Check with your sale rep before you go down this path.


I am using my instance , its a kind of POC , Please elaborate how in Workflow I can fetch catalog item variables and whats Orchestration licensing , where I can read more about it.