How do you allow the requestor of a service catalog item to edit the item variables during a defined stage of the catalog item workflow?

patk
Mega Contributor

I have a service catalog item that contain about 150 variables. Once the user orders the item, and the RITM is created, I would like the user to be able to edit the RITM variables during the initial stage of the workflow I have defined as "pending". I think this would be done through the catalog UI policies, but I cannot seem to get that to work, so maybe I am missing something. Also, if it is possible, is there a way to send the control of the workflow back to the user where it would recognize the fact that they did an update on the RITM?

1 ACCEPTED SOLUTION

patk
Mega Contributor

Thank you for all of the help. The problem was that when I created my variable, the form did not display "write roles". Once I configured this to display, I found that the write roles were defaulting to "admin". Once I removed this, the user was able to edit the variables.


View solution in original post

4 REPLIES 4

Ravi Prasad1
Tera Guru

Make sure you selected "Applies on Requested Item" check box on UI policies.



In work flow add condition like if state==pending wait for moving to other state to trigger the actual work flow.


Thank you for such a quick response. This is my first catalog item and workflow, so the help is appreciated.



I did create a catalog UI policy and have the "Applies on Requested Items" checked. I also have reverse if false=false, on load=true.


I have no conditions set.


I have one variable called "fiscal_yr" marked as "Leave Alone" for Read only, Mandatory and Visible.


I then went into an existing Requested Item as the requestor, with the workflow currently waiting at the first catalog task, and could still not edit the item variable.


I next changed the UI policy for "fiscal_yr" variable and made the "Read only" false. It still did not work.



Does it matter that the requested item was created prior to my adding the UI policy?


Ravi Prasad1
Tera Guru

No it dosn't matter it should work if everything configured properly.



We need to check if is there any global script which is making this field readonly.



If possible share the screen shots of UI policy and form will have a look.



Thanks,


Ravi


patk
Mega Contributor

Thank you for all of the help. The problem was that when I created my variable, the form did not display "write roles". Once I configured this to display, I found that the write roles were defaulting to "admin". Once I removed this, the user was able to edit the variables.