Skip to main content

Hello again.

I was planning on setting up a sequence of translations to run where each successive translation is run by a WorkspaceRunner transformer in the previous.

The problem with this is that placing a WorkspaceRunner at the end of a translation makes it dependent on the translation succeeding, and my chain of many translations could be jeopardized by something out of my control, such as a "403 Forbidden" error in an HTTPCaller.

My questions are:

A) Can I run a .bat file as a Shutdown Python Script without the translation where that script resides remaining running? In other words, is there a Python version of "Wait for Job to Complete: No" ?

B) If not, is there a way to place the WorkspaceRunner so that it both

  1. Doesn't start the next translation in the sequence until most or all of the operations are complete, and
  2. Isn't dependent on any other transformers succeeding

The reason these requirements are in place is so that more than one translation isn't running at a time, and so that I can rule out widespread failure due to errors listed above.

Thanks. Your help and ideas are always appreciated.

Have you considered one master controller workspace, with multiple workspace runners in sequence, instead of chaining them together in each individual workspace?

You would would have more control over what to do if a child workspace fails.


Have you considered one master controller workspace, with multiple workspace runners in sequence, instead of chaining them together in each individual workspace?

You would would have more control over what to do if a child workspace fails.

I hadn't considered it yet. I would need some sort of feedback of translation completion (success or failure) as input in order for it to work. Would that be possible?


I hadn't considered it yet. I would need some sort of feedback of translation completion (success or failure) as input in order for it to work. Would that be possible?

If you set wait for workspace to complete to "yes", then the success and failure ports will only release the corresponding feature once the workspace is completed.


If you set wait for workspace to complete to "yes", then the success and failure ports will only release the corresponding feature once the workspace is completed.

Thank you so much again. Using the type of control translation you described will serve a couple of different purposes for us. Appreciate it!


Reply