• Rohit Saxena 17
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Main Object : Case
Child Object : custom_object__c

Conditions:

Create custom_object__c record If ,

1) Case.Survey_Star_Rating__c != null for the cases created last week. create a child record immediately (no other conditions needed).
                   
2) Case.STS__C = true. Create child records per owner 1 in a day and maximum 2 per week if no above records is found for the same owner.
3) Case.CS_Deal__c = true. Create child records per owner 1 in a day and maximum 2 per week if no above records is found for the same owner.

Hint - if 1 survey record is found in last week then this week only 3 more records to be created for points 2 & 3

       if 2 survey record is found     in last week then this week only 2 more records to be created for points 2 & 3
       
       if a record is created for point 2 or 3, no other records should be created today for the same owner.

Child records should be updated with:

1) custom_object__c.Owner = queueid
2) custom_object__c.Case No. = Lookup of case
3) custom_object__c.Agent__c = Case.owner
Main Object : Case
Child Object : custom_object__c

Conditions:

Create custom_object__c record If ,

1) Case.Survey_Star_Rating__c != null for the cases created last week. create a child record immediately (no other conditions needed).
                   
2) Case.STS__C = true. Create child records per owner 1 in a day and maximum 2 per week if no above records is found for the same owner.
3) Case.CS_Deal__c = true. Create child records per owner 1 in a day and maximum 2 per week if no above records is found for the same owner.

Hint - if 1 survey record is found in last week then this week only 3 more records to be created for points 2 & 3

       if 2 survey record is found     in last week then this week only 2 more records to be created for points 2 & 3
       
       if a record is created for point 2 or 3, no other records should be created today for the same owner.

Child records should be updated with:

1) custom_object__c.Owner = queueid
2) custom_object__c.Case No. = Lookup of case
3) custom_object__c.Agent__c = Case.owner