Add Comment
UiPath.Smartsheet.Activities.Comments.AddComment
Uses the Smartsheet Add Comment API to add a comment to a discussion and optionally upload an attachment.
How it works
The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Smartsheet Application Scope activity to your project.
- Add the Add Comment activity inside the Smartsheet Application Scope activity.
- Create and enter values for the Input properties.
- Create and enter values for Output properties.
- Create and enter an
ResponseStatusvariable for the Output property.
In the Body of the Activity
- SheetId - The Id of the sheet. Enter a
Int64orInt64variable. - DiscussionId - The Id of the discussion. Enter a
Int64orInt64variable. - Comment - The comment to add. Enter a
StringorStringvariable. - File - The file path of the file to upload. Enter a
StringorStringvariable. - Response Comment - The newly created comment object. Enter a
Commentvariable.
Properties
Common
- DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
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
ResponseStatusvariable.