Activities
latest
false
Banner background image
Classic Integrations Activities
Last updated Apr 22, 2024

Update Status

UiPath.Slack.Activities.Channels.UpdateStatus

Overview

The UpdateStatus activity uses the Slack users.profile.set API to update your status (Status) and emoji (Emoji). You have the option to set your status for a specific amount of time (Clear After).

How it works

The following steps and message sequence diagram is an example how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Slack Scope activity to your project.
  3. Add the Update Status activity inside the Slack Scope activity.
  4. Enter values for the Input properties.
  5. Run the activity.

    • Your input property values are sent to the users.profile.set API.



In the Body of the Activity

  • Emoji - The standard, unicode emoji that you want to apply to your profile. Any emoji code in string format, such as ":smile:" . This activity only supports unicode emojis and does not support Slack's custom emoji list.
  • Status - The status message that you want to apply to your profile. Enter a String or String variable.
  • ClearAfter - The date that you want your Emoji and/or Status values to be cleared from your profile. Enter a DateTime or DateTime variable. To set it to never expire, choose DateTime.MaxValue

Properties

Common
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object includes three properties that you can use in other activities.
    • Success - Boolean - Specifies whether the API request was successful.
    • ErrorCode - String - The response error if the API request is unsuccessful (Success=False).
    • Message - String - The error message.

Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the Quickstart guides.



  • Overview
  • How it works
  • In the Body of the Activity
  • Properties
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.