Bug #3512

ForEach task problems

Added by Vadim 3 months ago. Updated about 1 month ago.

Status:ClosedStart date:05/12/2020
Priority:NormalDue date:
Assignee:Vadim% Done:

0%

Category:-
Target version:RapidDeploy - 5.0-FIX
Affects Version:5.0-FIX Additional version details:
Timesheet Code:

Description

Hello.

It's me again. :) Here attached please find a printscreen of sample project where I tried to add nested ForEach loop. It's not possible through "Conds&Loops" button but is still possible to do through "+ Task" button. But there is one difference: in case when loop task is added through "+ Task" button it does not have "hasNext?" node. Please compare the upper node and a lower one.

Best regards,
Vadim.

firefox_L5j9IQZO34.png (29 KB) Vadim, 05/12/2020 10:09 am

History

#1 Updated by Rafael 3 months ago

  • Status changed from New to Marked for Closure
  • Assignee set to Vadim
  • Target version set to 5.0-FIX

Hi Vadim,

Unfortunately it is not possible to nest loop tasks in the orchestration.

You can include an "IfTask" inside an "IfTask", a "ForEachTask" or a "WhileTask"; but you can not include a "ForEachTask" or a "WhileTask" recursively inside a "ForEachTask" or a "WhileTask".

That's the reason it is disabled in the main panel. We still need to disable them inside the "+ Task" menu also though, I already passed a note to my team.

If this is something that generates a big inconvenience to you, let me know and we'll try to find a workaround together. ;-)

Cheers!

Rafa

#2 Updated by Rafael 3 months ago

Hi Vadim,

It is also worth to mention the conditionals and loops in the orchestration are not meant to be for complex constructions but to allow a more efficient relationship between the tasks.

I found this in our documentation:

https://www.midvision.com/rapiddeploy-how-to-guides/create-project/

Conditionals and loops are meant to create simple ‘code’ constructs between tasks to allow you to orchestrate the relationship between tasks more efficiently. If you have more complex code for specific actions, that cannot be accomplished in the set of existing tasks, then add a ‘Script Code Runner’ task and enter your bash, shell, perl, ruby or python code directly into it.

I hope this makes it a bit clearer! :-)

Cheers!

Rafa

#3 Updated by Rafael 3 months ago

  • Status changed from Marked for Closure to In Progress
  • Assignee changed from Vadim to Mariano

Hi Mariano,

I'm assigning this to you so you can fix that little problem about allowing to include loop tasks recursively inside loops from the "+ Task" button.

Let me know if you need any help!

Cheers!

Rafa

#4 Updated by Mariano 3 months ago

  • Assignee changed from Mariano to Rafael

Hey Rafa,

Fixes were checked in, could you please test the orchestation UI diagram?

All these changes will be availabel on next release 5.0.20.

Cheers,
MP

#5 Updated by Rafael 3 months ago

  • Status changed from In Progress to Marked for Closure

Hi Mariano,

It looks good to me!

Cheers!

Rafa

#6 Updated by Rafael 3 months ago

  • Assignee changed from Rafael to Vadim

Ready for tomorrow's release: RapidDeploy 5.0.20.

#7 Updated by Rafael 3 months ago

  • Assignee changed from Vadim to Rafael

#8 Updated by Rafael 3 months ago

  • Status changed from Marked for Closure to Resolved

#9 Updated by Rafael 2 months ago

  • Status changed from Resolved to Marked for Closure
  • Assignee changed from Rafael to Vadim

Hi Vadim,

RapidDeploy 5.0.20 is already out with a fix for this, please feel free to close this ticket if you're happy with it or we will just time it out in a few days time.

Cheers!

Rafa

#10 Updated by Rafael about 1 month ago

  • Status changed from Marked for Closure to Closed

Also available in: Atom PDF