Variable Editor

jonathan_77
Mega Expert

Help, please.   I am trying to understand how to use/work with formatters.   A process is already in place (possibly OOB) through our Service Catalog for requesting Access to specific applications.   Once the user submits the access request and their manager approves it, a Task is generated for our Access team to provide them with the necessary permissions.   On the Task generated for access, it contains information in something called a Variable Editor (Formatter).   I've done research and I understand that a formatter is a form element used to display information that is not a field in the record.   I've had to create a process, for a user, that sends two Tasks to different groups when a specific access is requested.   My issue is I cannot figure out how to get the Variable Editor (Formatter) information to show on the additional Task that I have created?? Any thoughts on how to accomplish adding this info?

1 ACCEPTED SOLUTION

HI Jonathan,



Yes, you should be able to set the variables in the business rule in the same way. The task is a GlideRecord object and the source (request item?, you didn't say) is also a GlideRecord. Here's a snippet of how you would do such a thing.



task.variables.variable_name = ritm.variables.variable_name;


View solution in original post

10 REPLIES 10

Yes. If you don't add the condition it will run for all the catalog tasks irrespective of variables being present or not.