Skip to main content
Question

Calling FME workBench from shutdown script

  • June 28, 2013
  • 4 replies
  • 18 views

Forum|alt.badge.img
Hi,

 

I have two workbenches. First one's publish parameter has all feature list, which i need to pass to 2nd workbench's reader. Unfortunately, i cant use workspace runner as i need to call after writers write into database.

 

I can pass hard coded values but how should i pass parameters?

 

 

Thanks,

 

Subrat

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • June 28, 2013
Hi,

 

 

Did you try to set the wait for job to complete setting to yes on the wsrunner?

 

 

Itay

takashi
Celebrity
  • June 29, 2013
Hi Subrat,

 

 

I also recommend you to consider firstly the "Wait for Job to Complete" parameter of the WorkspaceRunner as Itay mentioned. A straight answer to the title of your posting is here: Invoking WorkspaceRunner upon completion of FME processing

 

 

Takashi

Forum|alt.badge.img
  • Author
  • June 29, 2013
Hi,

 

     I cannot use workspace runner for following reasons.

 

 

1) Finally it will run on FME server and as per transformer specification

 

"Publishing to FME Server: Publishing a workspace that includes this transformer is not recommended. The transformer will try to start an FME outside of FME Server to run the workspace, and this FME will require an additional license."

 

 

2) For Testing, i tried with workspace runner with 'wait for job to complete' setting to yes. But it is calling second workbench for each feature Where as my task is to call when all features of first workbench are completed.

 

 

Subrat.

takashi
Celebrity
  • June 30, 2013
Did you see the linked article I wrote last time? David described how to launch a workspace via Python script.

 

 

Takashi