MattermostAskUser
Mattermost Pack.#
This Script is part of theAsk a user a question on Mattermost and expect a response. The response can also close a task (might be conditional) in a playbook.
#
Script DataName | Description |
---|---|
Script Type | python3 |
Tags | mattermost |
Cortex XSOAR Version | 5.0.0 |
#
DependenciesThis script uses the following commands and scripts.
- send-notification
#
InputsArgument Name | Description |
---|---|
user | The Mattermost user to ask. Can be either an email or Mattermost username. |
message | The message to ask the user. |
option1 | First option for a user reply. "yes" is the default. |
option2 | Second option for the user reply. "no" is the default. |
task | Which task should we close with the reply. If none, then no playbook tasks will be closed. |
replyEntriesTag | Tag to add on email reply entries. |
persistent | Indicates whether to use one-time entitlement or a persistent one. |
reply | The reply to send to the user. Use the templates {user} and {response} to incorporate these in the reply. (i.e., "Thank you **{user}**. You have answered **{response}**."). |
lifetime | Time until the question expires. For example - 1 day. When it expires, a default response is sent. Default value is 1 day. |
defaultResponse | Default response in case the question expires. |
#
OutputsThere are no outputs for this script.