Skip to main content
Solved

WorkspaceRunner and variable

  • November 5, 2024
  • 8 replies
  • 60 views

olivierl
Contributor
Forum|alt.badge.img+3

Hello,

I would like to test a variable before running a workspaceRunner or not.

if attribute ‘recetteCouche’ = 1 then running workspaceRunner ‘000_recetteCouche..’0’ else if attribute ‘ecritureLivrable’ = 1 then running workspace ‘0000_ecritureLivra...’, etc

my configuration for each  WSR is : ‘wait job job to complete = YES’

Please, someone have an idea ?

Olivier.

Best answer by bwn

Lots of different ways.  Basic way of Prioritising and running a Workspace with a dynamic value for its Path below.

Sample Excel data.
 



Feeds into a Prioritisation using Eg. Sorter and Sampler.
 

 

View original
Did this help you find an answer to your question?

8 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • November 5, 2024

You can use a Tester or TestFilter before the WorkspaceRunner.


olivierl
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 5, 2024

Thanks but you can imagine i tried it before without successing


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • November 5, 2024

Where are the attributes to filter? You use only the Creator before the WorkspaceRunner. 


olivierl
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 5, 2024

This is an excel file with  an attribute for each workspace Runner set to true or false


bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • Best Answer
  • November 6, 2024

Lots of different ways.  Basic way of Prioritising and running a Workspace with a dynamic value for its Path below.

Sample Excel data.
 



Feeds into a Prioritisation using Eg. Sorter and Sampler.
 

 


olivierl
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 6, 2024

Great ! works perfectly

Thanks a lot


olivierl
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 6, 2024

i completed with :

  • ‘tester’ for run = 1
  • set sampling Rate (N) to the max of ‘controle’
  • included user parameters in to workspace (even if few of the 10 .fmw don’t need all)

Meaby an other way to do it but this one works

Thanks again


olivierl
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • November 6, 2024

forgot this

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings