- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 09:23 AM
I have an RITM form that I need to pass values on to the tasks that are created with in a workflow. I need to pass the Business Unit field from the RITM to the Business Unit field on the created Task. I've tried numerous different ways and none have worked...any help is appreciated.
I also have the same values on the Request (Business Unit) that I could use to pass to the created Task within a workflow. I'm pretty new to this so I would again appreciate any help or advice. Thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2016 07:18 AM
Use this in the advanced script and see if it works
task.short_description = "Forward Desk Phone - " + " " + current.variables.u_ucmt_who.getDisplayValue() + " " + "-" + " " + current.variables.u_ucmt_date.getDisplayValue();
if (task.u_business_unit == '') {
task.u_business_unit = current.u_ucm_bu;
}
if (task.u_location == '') {
task.u_location = current.u_ucm_loc;
}
task.u_itp_reqfor = current.request.requested_for;
task.u_ucm_due_date = current.due_date;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 11:21 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 11:24 AM
Did you try this code in the task activity of the workflow?
task.u_business_unit=current.u_ucm_bu;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 11:57 AM
Yes I sure did...and unfortunately on the Task form the field Business Segment is not populating!!! I'm taking a step back and looking at Business Rules that may have been setup that may be the cause of this not working! I will let you know the results...stay tuned!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 02:42 PM
Hi Kevin,
I see you are using a "Catalog Task" activity in the Workflow, but not a "Create Task" activity, So could you please check if you have created the "Business Unit" field on sc_task table ?
Note: Don't right click on the field & to see the Table by clicking 'show', instead go to Dictionary of the Field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 03:50 PM
Devi,
I have changed all of the Catalog Task back to 'Create Task' in the Workflow that I am testing.