How can I create a UI Action on a Record Producer Service Catalog item?

patricialynch
Giga Contributor

How can I create a UI Action on a Record Producer Service Catalog item?

I want to be able to have a button on a standard change catalog item that will create change tasks as needed by the user

So if they have 3 tasks, they can create 3 change tasks

If they have more they can create more

So for every task they need for the change, they can fill in the details and then generate the next task using the U Button

4 REPLIES 4

TJW2
Mega Guru

Perhaps: Create a Record Producer to 'Create Change tasks'.   On Submit of the Change Record Producer redirect to the Change task Record Producer.  



OR:   Create a custom view for the Change Record, Once the Record Producer is submitted re-direct to the new view which has a UI Action to 'Create Change Task'.


ohhgr
Kilo Sage
Kilo Sage

Hi Patricia,



You could also create an UI Macro that collects the necessary details and creates tasks.



You can find some details here http://wiki.servicenow.com/index.php?title=UI_Macros



Thanks,
Mandar


solutioningnow
Giga Guru

HI Patricia,



This can be achieved with below logic



1) Create a variable of type macro.


2) Create a macro with 2 elements, add button and a placeholder to show change task records.


3) In the macro code on click of add button you can insert records in the change task table with some unique value.


4) A business rule on the insert change table, associate newly created change tasks with the change.



Please mark answer as correct/helpful, if it was really helpful.



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


patricialynch
Giga Contributor

Thank you all, I will try these options and let you   know how I make out!