Skip to content

docs: add JSON reference links to condition and loop flow control docs#4185

Open
opemipodisu wants to merge 1 commit intomasterfrom
aws-ec2-update
Open

docs: add JSON reference links to condition and loop flow control docs#4185
opemipodisu wants to merge 1 commit intomasterfrom
aws-ec2-update

Conversation

@opemipodisu
Copy link
Collaborator

Description

Added JSON reference links to the documentation for Condition and Loop flow controls to provide users with practical examples of how these components work in real-world scenarios.

  • Added JSON reference link to Condition flow control documentation
  • Added JSON reference link to Loop flow control documentation
  • Ensured consistent formatting across both documentation files

Type of change

  • Documentation update

How Has This Been Tested?

  • Verified links are working correctly
  • Checked that the documentation renders properly in the local development environment
  • Ensured the JSON examples are accessible demos and relevant to the documentation

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Links are not working properly

Example Expression: ${order_1.total} > 1000 && ${order_1.status} == "pending"
```

**Using Condition Builder (Raw Expression = FALSE):**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you here write steps how to build the expression ${order_1.total} > 1000 && ${order_1.status} == "pending" with Condition Builder.
Now you are going through every possible option available in Condition builder and then you do the same thing again in Available Operations.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add simple workflow JSON example that uses Condition inside it.


**Option A: Loop Forever (Continuous Execution)**
1. In the **Properties** tab, set **Loop Forever** to `true`
2. No expression needed - the loop runs continuously
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add step where you use Loop Break to stop the loop so it does not run forever

>
> When `loopForever` is set to `true`, ensure your workflow has proper exit logic to avoid infinite execution. Without completion conditions, the loop will continue indefinitely and may consume resources or exceed execution time limits.

You can refer to this [json file](https://www.npoint.io/docs/73d362abb3b155274638) to see the Loop flow control in action. No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to just paste the example here and not to use third party service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants