I did something like this on the Work Order form. I created workflow that:
1) Does a push fields to TMS:ParentApplicationTemplateBuilder, mapping all the fields you would expect for the customer information, as well as setting zTmpInternalCommand to "CREATECHILD", all the RootRequest fields appropriately, and the Parent Template InstanceId with the template ID that is logically selected based on my form in SRM. You could easily just do this when your custom form pushes to the Change Request, as long as you have a field on the Infrastructure Change form to store it since your Filter would be on the Change Request form itself. 2) I do a Set Fields on the Work Order form setting z1D Char01 with $PROCESS$ Application-Query-Delete-Entry "TMS:Flow" 'RootRequestInstanceID' = "$InstanceId$" AND 'ParentID' = "$InstanceId$" AND 'Sequence Mode' = "Yes" AND 'Status' = "Pending". 3) I do a Push Fields to TMS:FlowBuilder, mapping the stuff that makes obvious sense as well as Parent Type as "Root Request" and zTmpInternalCommand as "CREATE". 4) Do a Set Fields on Work Order with CreatedfromParentTemplate = "Yes". I just figured out how to do this by basically looking at the filters that create Tasks from templates for Work Orders, and built my own. I also changed it up a bit because initially I would create the Task Group Template and all the Tasks within it, but my users didn't like that they had to click on the Task Group Template to see the list of Tasks, so instead I just set it up to create the Tasks from the template as individual Tasks. I hope this at least gives you a direction to start in. Realistically, you can do the same thing I did but on the Change form - just add some tasks to a Change Template, and turn on filter logging for when your custom form creates a Change Request with that template and see what happens. Thanks, Shawn Pierson Remedy Developer | Southern Union From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of JanetB Sent: Tuesday, January 11, 2011 3:17 PM To: arslist@ARSLIST.ORG Subject: Re: Creating Tasks via workflow question ** Kimberly, Thanks for the tips - however, I'm not sure if this will work in our situation. During our onboarding/termination/transfer process, a Change Request is created along with what we call a SAR form (custom form) - the SAR is associated with the CR at this time and sent to the manager. The manager then fills out the SAR form, indicating what applications/services need to be supplied for the employee. It is at this point that they want automation to occur. Right now, our service desk receives notification when the manager submits the completed SAR and they go in and manually attach tasks to the CR. They want us to automate this process - so we will read the SAR form and based on the selections, filters will create tasks attached to the CR. Can I still use a Task Group Template? My understanding was that Task Templates needed to be automated at the time the CR was created. Is it possible to launch this for a CR that already exists? From: [hidden email]</user/SendEmail.jtp?type=node&node=5912486&i=0> santana [via ARS (Action Request System)] [mailto:ml-node+[hidden email]</user/SendEmail.jtp?type=node&node=5912486&i=1>] Sent: Monday, January 10, 2011 7:33 PM To: Brassard, Janet Subject: Re: Creating Tasks via workflow question ** Janet Maybe similar....we use workflow to automate the creation of a task group. I would imagine that based on values in your custom form you could automate a task group to the related change. Filter 1 action 1 gets next id: $PROCESS$ Application-Generate-GUID TMS action 2 push to tms:taskgrouptemplate modifies the matching record where 'InstanceId' = "TM<your task group id>" Filter 2 action1 push to tms:flowbuilder creates a new request Please contact me directly and I will be happy to explain further. Kimberly Santana| Senior Programmer Analyst Oracle Oracle Health Sciences Global Business Unit Oracle is committed to developing practices and products that help protect the environment On 1/10/2011 4:43 PM, JanetB wrote: We have a custom form that is filled out when employees are on/off-boarded. When this form is initially created, a change request is also created and associated with it. The manager then fills in the details on the form and our service desk then selects the appropriate task templates for the change request based on the options selected on the custom form. They now want to automate this task creation. Is this as easy as creating a filter that will Push to TMS:Task form based on the selections or am I missing something? I don't see an Interface_Create for Tasks, but will I be missing pieces if I just Push to the Task form? Is there another (better) way to do this? I understand you can automate via Task Templates associated with the Change Request - but the problem is we don't know what tasks are needed at the time the Change Request is created. We also have another request to spawn new tasks when other tasks are completed, so we need this process for that as well. We are on 7.1 patch 009. _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ [hidden email]</user/SendEmail.jtp?type=node&node=5912486&i=2> (904 bytes) Download Attachment</attachment/5909185/0/part1.09070307.05040501%40oracle.com?by-user=t> [hidden email]</user/SendEmail.jtp?type=node&node=5912486&i=3> (488 bytes) Download Attachment</attachment/5909185/1/part2.08010901.00050202%40oracle.com?by-user=t> ________________________________ View message @ http://ars-action-request-system.1093659.n2.nabble.com/Creating-Tasks-via-workflow-question-tp5908711p5909185.html<http://ars-action-request-system.1093659.n2.nabble.com/Creating-Tasks-via-workflow-question-tp5908711p5909185.html?by-user=t> To unsubscribe from Creating Tasks via workflow question, click here<http://ars-action-request-system.1093659.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5908711&code=amFuZXQuYnJhc3NhcmRAU0FHRS5DT018NTkwODcxMXw2ODQ5MTc3OTk=&by-user=t>. [/images/icon_attachment.gif]~WRD000.jpg (1K) Download Attachment</attachment/5912486/0/%7EWRD000.jpg> ________________________________ View this message in context: RE: Creating Tasks via workflow question<http://ars-action-request-system.1093659.n2.nabble.com/Creating-Tasks-via-workflow-question-tp5908711p5912486.html> Sent from the ARS (Action Request System) mailing list archive<http://ars-action-request-system.1093659.n2.nabble.com/> at Nabble.com. _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ Private and confidential as detailed here: http://www.sug.com/disclaimers/default.htm#Mail . If you cannot access the link, please e-mail sender. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"