Organize tasks together to execute them several times with different... - VisualCron - Forum

Community forum

Dmitrij Kultasev
2019-07-30T08:56:02Z
I want to create a job with following steps:

  • get records qty for table A
  • if A.qty > 1000 then execute Task1(A)
  • if A.qty <= 1000 then execute Task2(A)
  • some other step
  • some other other step
  • get records qty for table B
  • if B.qty > 1000 then execute Task1(B)
  • if B.qty <= 1000 then execute Task2(B)
  • some other step
  • get records qty for table C
  • if C.qty > 1000 then execute Task1(C)
  • if C.qty <= 1000 then execute Task2(C)


I know how to make conditions, but I need to duplicate 3 steps for each variable value. Is it possible to create 1 set of tasks, or group them somehow and then just change the value of variable?
Support
2019-07-30T09:04:46Z
Hi Dmitrij,

please update your email to the official one so we can link to your company you work for. This helps support.

You can group into different Jobs, that is one way. Then you can use similar Job Variable names so you can easily duplicate. In general Flow tab is probably easier to use than Conditions.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top