omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Open Workflow from another workflow only works sometimes

    Editorial
    2
    3
    2164
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlexKucera
      AlexKucera last edited by

      Hi guys,

      I have a workflow that cleans up a string and turns it into a URL for my blog. I also have a workflow that turns a Markdown document into a blog post. I'd like to run the URL workflow from my post workflow to get the correct filename for my document. However, this does not seem to work reliably—or at all, really.

      I call the URL workflow as such: editorial://?command=create%20blog%20URL&input=[Input] with "Open in" set to Default App (I also tried in-app browser).

      The workflow is supposed to return the result on the clipboard, but that doesn't seem to work inside a workflow. When I run the URL workflow via x-callback from Drafts it performs as intended every time.

      Of course, the simple solution would be to just incorporate my URL workflow into my post workflow. But I'd rather have them separated as I like to call the URL workflow on its own at times. And keeping both in sync, if I were to duplicate it inside my post workflow, seems like asking for trouble.

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        Only one workflow can run at a time. If you want to start a workflow from within another one, the "Open URL" action has to be the very last one, so that the workflow has finished running when the URL is opened.

        1 Reply Last reply Reply Quote 0
        • AlexKucera
          AlexKucera last edited by

          I see. Then I will have to rethink my approach. Thanks Moritz.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors