We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CPM code to Assign the task to Advisor Group

Accepted answer
21
Views
5
Comments
edited Mar 25, 2019 12:44PM in Customer Portal 5 comments

Summary

Task Object

Content

I need to assign the task to Advisor Group using CPM (PHP) code. 

Following piece of code throws errors,stating that "Invalid ID: No Such account with ID 100127"

$newTask->AssignedToAccount=RNCPHP\Account::fetch(100127);   (100127 is Advisor Group id); 

Is it possible to assign a task to Group?

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!