UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 589 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Get Variable * @section Actions > Scripting > Variables * @icon Variable * * Gets the value of the specified variable and passes it to the next action. * * ```js * getVariable({ * variable: variable('My Variable'), * }); * ``` */ const getVariable = ({ variable, }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.getvariable', WFWorkflowActionParameters: { WFVariable: variable, }, }); exports.default = getVariable; //# sourceMappingURL=getVariable.js.map