The CreatorCon Call for Content is officially open! Get started here.

How to get the assignment group on SC Task based on Requested_for Location using Workflow script

Rajesh Bandila
Tera Contributor

Hi,

 

I want to set the assignment group based on Requested for Location. Under the Cmn_Location table I have an custom filed called "Local support group" which is refers to group table. my requirement is, I want to get the Requested for->Location->Local support Group should be set as assignment group of the sc task. how to achieve this by using workflow script. Please help me on this?

 

Thanks In Advance

Rajesh B

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Rajesh,

What is that you have tried and stuck at. Can you share it once.

In case, if you have not started yet all you need is as below.

1. In the catalog task activity add below line

task.assignment_group=current.request.requested_for.location.u_local_support_group;

considering u_local_support_group is the field name on the location table

 

View solution in original post

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Try it in the workflow catalog task activity and click on advance checbox
task.assignment_group = current.requested_for.location.local_support_group; //replace custom field name local support group

Jaspal Singh
Mega Patron
Mega Patron

Hi Rajesh,

What is that you have tried and stuck at. Can you share it once.

In case, if you have not started yet all you need is as below.

1. In the catalog task activity add below line

task.assignment_group=current.request.requested_for.location.u_local_support_group;

considering u_local_support_group is the field name on the location table