The CreatorCon Call for Content is officially open! Get started here.

How can I get the content of a Variable Set Value (catalog table variables) from a Service Catalog Item inside a workflow?

guy
Kilo Contributor

hi,

There is a field in the service catalog named "requested for" which the initiator of the request enters the data to the field. I want, by pressing the button "Order now" - that the data will enter to the field "requested for" in the requested items table. The script was made in the workflow.

I don't know how to access to the data in the catalog when there is a variable of type of Variable Set Value (catalog table variables).

thanks.


12 REPLIES 12

Not sure if I understand what you asked but the plan is to create a new item per name (the variable "test" "acting" as a variable of type collector which save it's data in the "test_result"). So, the number of items equal to the number of names.


would it be much simpler to have a reference variable on each of your catalogs and have a business rule on sc_req_item table that will update the detail as



current.requested_for = current.variables.variablename...



you can add this reference variable in a variable set and include it in the catalog's you need....


Okay thanks, appreciate the help