Clio Operate Knowledge Base

Search for answers or browse our knowledge base.
Have you tried asking our AI chatbot for help? It is down in the right-hand corner.

Adding a 'To' Participant on an Email from a Call to Action

Was this article helpful?

Call to action commands can of course be used to create emails. 

Where there is the requirement to pass through the 'To' participant, this can easily be achieved by using the following snippet

Actions.sharedo.BuildCallToAction()

               .WithDisp0lay(“Email”, “fa-edit”)

               .WithCommandForSharedo

               (

                              “sharedo-open-or-create-task”,

                              //instanceTag “there-can-only-be-one”,

                              Sharedotype: “task-activity-send-email”,

                              assignToHolderOfRole: null,

                              title: “Inform ATE Provider”, 

                              dueOffset: “+1h”,

                              email: 

                              {

                                             TemplateSystemName: “email-top-tail”, 

                              },

                              Parameters:

                              {

                              assignToOdsId: ctx.ownerId,

                              recipientId: null,

                              recipientLocationId: null,

                              dueDate: null

                              }

               },

               Ctx.sharedoId

)

.Build()

 

 

 

 

 

Was this article helpful?

Related Articles

Related articles in the knowledge base