thygesteffensen / PowerAutomateMockUp

Skeleton to run Power Automate Flows from their JSON descriptions.
MIT License
8 stars 1 forks source link

Issue/18/apply #19

Closed thygesteffensen closed 3 years ago

thygesteffensen commented 3 years ago

Added support for the apply for each action.

When a for each is meet, the actions inside is threated as a scope, and the for each scope handler have logic when the flow exists the scope.

The exit logic checks if all the items in the array have been processed, and if not, the next item is made ready to be accessed via the items expression and the scope is pushed again, and the first action of the actions is set as the next action to be executed.

When all the items have been processed, the scope is exited properly and the execution continues.

thygesteffensen commented 3 years ago

:tada: This PR is included in version 1.0.0-alpha.20 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

thygesteffensen commented 3 years ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: