# Action.PushCard
Cardscript
When invoked this will push the new card on the routing history.
# Example
{
"type": "AdaptiveCard",
"body": [],
"actions": [
{
"type": "Action.PushCard",
"title": "Action.PushCard",
"stateMachineName": "pizza_amendOrder_1_0"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# type
Must be "Action.PushCard"
.
- Type:
string
# stateMachineName
The state machine to launch.
- Type:
string
# Optional properties
# title
Label for button or link that represents this action.
- Type:
string
# input
The input to launch with.
- Type:
object
# JSON Schema
{
"additionalProperties": true,
"description": "When invoked this will push the new card on the routing history.",
"properties": {
"type": {
"type": "string",
"description": "Must be `\"Action.PushCard\"`."
},
"title": {
"type": "string",
"description": "Label for button or link that represents this action."
},
"stateMachineName": {
"type": "string",
"description": "The state machine to launch."
},
"input": {
"type": "object",
"description": "The input to launch with."
}
},
"required": [
"type",
"stateMachineName"
],
"type": "Action.PushCard",
"typeSafe": "action-push-card",
"example": "FIXME!",
"propertySummary": [
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"Action.PushCard\"`."
},
{
"name": "title",
"type": "string",
"required": "Optional",
"text": "Label for button or link that represents this action."
},
{
"name": "stateMachineName",
"type": "string",
"required": "Required",
"text": "The state machine to launch."
},
{
"name": "input",
"type": "object",
"required": "Optional",
"text": "The input to launch with."
}
]
}