Skip to main content

Update Role

AutomatR.Zoho.Activities.UpdateRole

The "Update Role" activity in AutomatR is part of the Zoho Roles activities package, facilitating the automation of tasks related to updating role details within Zoho CRM. This activity allows for dynamic updates to role information, enhancing workflow flexibility.

Properties

NameDescription
Input
ResultOutputs the updated role ID in the form of a string. Variables of string type to store the updated role ID.
Role IDSpecifies the ID of the role to be updated. String variables containing the role ID. This is a required field.
Role NameSpecifies the new name for the role. String variables containing the updated role name. This is an optional field.
Reporting ToRepresents the unique ID of the role higher in the role hierarchy to the current role. String variables containing the ID. This is an optional field.
DescriptionRepresents the description of the role. String variables containing the updated role description. This is an optional field.
Share With PeersIf checked, users with the current role can share records with other users. Boolean variables to indicate whether sharing with peers is enabled. This is an optional field.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Update Role" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: 5 seconds.
Output
ResultOutputs the updated role ID in the form of a string. Variables of string type to store the updated role ID.

How to use:

  1. Drag and drop the "Update Role" activity onto the workflow.
  2. Configure the properties by specifying the role ID and, optionally, the new name, reporting ID, description, and share with peers.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to update the specified role in Zoho CRM.

Example: Consider an example where the "Update Role" activity is used to modify the name and description of a role with the ID "12345":

Update Role:
Delay: 2 seconds
Role ID: "12345"
Role Name: "Updated Role"
Reporting To: "54321"
Description: "Updated description of the role."
Share With Peers: true
Result: updatedRoleID

In this example, the activity updates the role with the ID "12345" by changing its name to "Updated Role," reporting to "54321," updating the description, and enabling sharing with peers. The ID of the updated role is stored in the variable "updatedRoleID" for further handling in the workflow.