Editorial Workflows

Variable Exctract

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This is a TEST workflow that takes a variable from the main workflow, edits it inside of the Custom UI action, and returns the edited variable to the main workflow (outside of the output panel of the Custom UI action.)

In this example, the original greeting variable in the main workflow was "hey", but notice when you try to output the greeting variable in the main workflow, it outputs the edited version.

So I have effectively returned a variable from within the Custom UI workflow, to a single variable in the main workflow.

When editing the text field, make sure to press ENTER or tap another field to commit the changes, otherwise it will output the text before you changed it.

The variables in the main UI section do not have to be there, this is just for deomomstrstion as to how the variables can be changed.



Shared by: Tutorial Doctor

Comments: Comment Feed (RSS)

Tutorial Doctor — 06 Oct 2014
Correction, the variables do have to be there

+ Add Comment

Workflow Preview
Store Initial Greeting ?
Variable Name
greeting
Value
hey
Store Initial Name ?
Variable Name
name
Value
Joe!
Custom UI ?
User Interface
Presentation Style
  • Sheet
  • Full-Screen
  • Popover
Output
Use Editor Theme
ON
Output Modified Greeting ?
Variable Name
new_greeting
Value
greeting
Output Modified Name ?
Replacement Text
greeting name