Need to get and edit variables on Approval Form from Catalog and vice versa

esha_bhatnagar
Kilo Contributor

Hello Everyone,

I have a Service Catalog Item, which contains a slush bucket of records. Now this Slush Bucket (which is a variable) is visible on Request Item and Catalog Task Form. I need this Slush Bucket to be visible on Approval Form. Approver should have the right to edit the records selected i.e. he can add or remove the records in the slush bucket, and once he approves it, these changes should reflect back to the same slush bucket present in Request Item Form. How to solve this?

Please let me know if anymore information is required.

Thanks,

Esha

7 REPLIES 7

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You'd likely have to create a ui macro with a reference to the slushbucket macro as well as some code that copied the value from the approval to the item. You could add the ui macro to your approval form through a formatter. This is probably a medium to high level customization. Have you tried doing this with a catalog task? It would be very easy to add the variable to the catalog task.


Hi Brad,



Thanks for your reply.


For Catalog Tasks, in workflow activity, we can add variables on a task form easily. I need the same functionality on Approval form.


Currently, I am not able to get the variable editor on approval form. I need the variables on the approval form as editable.



Thanks,


Esha


I think it would be a pretty tall order to get the variable editor on the approval form. The typical way to add variables to the approval would be the approval summarizer which gives a read only view of the variables. Since the purpose of the approval is to either approve or reject, people don't typically need to update variables. Could you give the user an easy way to get to the RITM from the approval with a view that just shows the variable you're interested in?


vps
Tera Contributor

I am facing the problem. Any solution to this problem?