Duplicate/Copy a workflow
I have a template, which I think may be also called a workflow (some clarification on this would be good).
I want to copy it so I can make a similar template.
I can click the template name in the editor (workflow editor??) and there is a Copy Workflow option... and then what. It doesn't seem to do anything except say 'copied'. There doesn't seem to be any way to paste it anywhere, and it doesn't create a new template identical to the existing one (which would be the preferred option). It just disappears into a black hole.
I can't see anything in the documentation on this. Maybe I"m missing something really obvious, but this particular thing is not at all intuitive. What I really want is a copy template function, but there doesn't seem to be one of those.
So then I even tried sharing a workflow using the online function, and renaming the existing workflow and then downloading the original workflow to create a copy that way. But even though the workflow appeared on a website, and I clicked the install button, and it said it had added the workflow... but nothing happened. No new template, no new workflow, just nothing happening.
It seems that template and workflow are synonymous, which is unnecessarily confusing. It also seems the installing templates from the website is broken too.
This worked for me.
- Create a new template by tapping "new template" . Let the name be "my template 3".
- Copy the workflow ( tapping the title and tapping copy workflow)
- copies a URL scheme to clipboard
- Rename the template " my template 3 old"
- In safari, paste this in address bar and open(the URL scheme will be copied and it will open the editorial and create the template "my workflow 3")
Direct copy and paste should have worked for templates. This seems to be a bug. Here are some more notes. ( I rarely use editorial and some of the observations may not be right.)
You can think of templates as document creation workflows. Thiese workflows are executed when you create documents and they are listed separately from the normal workflows ( workflows created using wrench menu). But from the point of view of functionality they are the same as normal workflows. Default template workflow is to create a document and open it in editor.
You can create a workflow in wrench menu, copy to clipboard and paste in template. Copy command copies a URL scheme to clipboard. Installing a workflow basically run this URL scheme in safari.
@CascadeHush If we're talking about templating blocks of functionality from within workflows, then yes, presets work nicely— something I only discovered myself recently. In order to set a whole sequence of workflow steps as a preset, I've sometimes used "if" blocks as wrappers/containers. Put the steps you want to keep as a reusable block in an "if" block, set that as your preset, then unpack them in your new workflow when needed.
Almost forgot: "sub-workflow" might also be helpful in this context?
@omz, can you look at this bug?
If you copy the workflow from wrench menu workflows, and then edit a template workflow, paste appears and you can copy it by tapping on it.
But if you copy the workflow from template workflow and then edit another template workflow, paste does not appear and hence you can not copy it. Paste appears and you can do the copying if you do the following:: copy clipboard content to a text file, replace the "add-template" to "add-workflow" and then copy to clipboard.
@CascadeHush Here are the relevant portion of the documents about "document templates".
From the url http://omz-software.com/editorial/
Tired of copying and pasting boilerplate text? Simply create a template, so you don't have to start from scratch every time you create a new document.
Templates are full-fledged workflows, so they can include variables, e.g. the current date/time or clipboard. You can even make templates that are based on Python scripts for a maximum of flexibility.
Creating and Managing Files
When you tap the + button, the template picker is shown, and you can select the type of document you’d like to create. The document templates are all empty by default, but you can easily create your own templates by tapping “New Template” at the bottom of the picker.
Templates can be useful for creating documents that have a fixed format, e.g. report cards, but Editorial’s template system is actually much more powerful than that. Each template is a complete workflow that can include custom logic or even UI that is shown before or after the document is created. For example, if you prefer to enter a filename before a document is created, you can easily do this by adding a Request Text Input action before the Create Document action (which is included by default in a template workflow).
This worked for me.
Here's what I ended up doing, based on your info.
1 Open the template you want to copy.
2 Copy the workflow ( tapping the title and tapping copy workflow)
3 Rename the existing template to something new (this will be the new copy)
4 In safari, paste into the address bar (this is what was copied in step 2) and open the URL which will give you the original template back
I think that makes it a bit more clear what is what, for anyone who may come along in the future.
That's some pretty crazy stuff, when all we need is a copy template button, but at least I can do it.
Wrapping in an if block might have been easier, I didn't think of that.
enceladus' explanation about templates is completely correct. They're essentially the same as workflows.
I'm not sure right now why there is no "Paste Workflow" option when editing a template workflow. Pasting the copied template workflow in Safari is a good workaround, though it might be even faster to paste it into Editorial's in-app browser.