Skip to main content
Hi Team,

Can any one please help me to create a trigger for below senario.

Object: Task

if Task.Support Team Request = AE Support Request

then{

if Task.created by.Pole = NA or North America then set Task.project= AE NA or Project id= xxxx

if Task.created by.Pole = China then set Task.project= AE China or Project id= xxxx1

if Task.created by.Pole = APAC then set Task.project= AE APAC or Project id= xxxx2

if Task.created by.Pole = EMEA or MEA then set Task.project= AE EMEA or Project id= xxxx3

if Task.created by.Pole = LATAM then set Task.project= AE LATAM or Project id= xxxx4

}

Thanks in Advance
15 个回答
  1. 2016年9月8日 09:45
    @Nitin, Task is different object..But we are using Object name = TaskRay Task (Managed),  API Name is  "TASKRAY__Project_Task__c " , "Project(LookUpfield ) to "TaskRay Project".

    Let say:

    1.TASKRAY__Project_Task__c  : Fields are

        Support Request Team -> Type_of_Request__c = 'AE Support Request'

        Project - > TASKRAY__Project__c = "AE NA" or "AE Global"  Lookup filed to TASKRAY__Project__c

    Hope you are getting my senario now.There is no relation ship betwen Task and TaskRay.

    Thanks
0/9000