What is indenting? How does it work in my recipe logic?
Can you please explain to me in more details about why I should indent certain lines in my recipe?
Best Answer
P
Phuong Nguyen
said
almost 9 years ago
The logic of your recipe makes or break your integration solution. It is extremely important that small matters of your recipe is done correctly to prevent any logical error.
This is an example of a great recipe, but it doesn't work! As subtle as it can be, the logical flow of the recipe had been disrupted due to incorrect indention.
Where are the indention errors are?
1) Step 3 and 4
One of the most common indention errors that users are guilty of doing is not indenting the resulting action of a conditional action. Assuming that Step 4 is a resulting action of Step 3, where if Salesforce Expense object Invoiced field is not true, then search for Vendors in QuickBooks.
To do so, Step 4 has to be indented the way Step 6 was to Step 5. To indent a step, click on the desired step, and use Ctrl + Alt + up or down arrows to move the step around the recipe and indenting.
2) Step 5 and Step 8
These two steps are the opposite conditional actions. If the vendorID is not present, do this. If the vendorID is present, do this. However, Step 5 has an indention error. Step 5 indention should be on the same vertical line as Step 8, meaning they both belong to the same layer of indention. In this case, step 5 is under another Conditional action above, which may be a mistake that users are making.
Indention is the key to getting the right logic flow when using conditional actions and repeat action. Always be aware of them.
Answer
Phuong Nguyen
said
almost 9 years ago
The logic of your recipe makes or break your integration solution. It is extremely important that small matters of your recipe is done correctly to prevent any logical error.
This is an example of a great recipe, but it doesn't work! As subtle as it can be, the logical flow of the recipe had been disrupted due to incorrect indention.
Where are the indention errors are?
1) Step 3 and 4
One of the most common indention errors that users are guilty of doing is not indenting the resulting action of a conditional action. Assuming that Step 4 is a resulting action of Step 3, where if Salesforce Expense object Invoiced field is not true, then search for Vendors in QuickBooks.
To do so, Step 4 has to be indented the way Step 6 was to Step 5. To indent a step, click on the desired step, and use Ctrl + Alt + up or down arrows to move the step around the recipe and indenting.
2) Step 5 and Step 8
These two steps are the opposite conditional actions. If the vendorID is not present, do this. If the vendorID is present, do this. However, Step 5 has an indention error. Step 5 indention should be on the same vertical line as Step 8, meaning they both belong to the same layer of indention. In this case, step 5 is under another Conditional action above, which may be a mistake that users are making.
Indention is the key to getting the right logic flow when using conditional actions and repeat action. Always be aware of them.
Adam Goh
What is indenting? How does it work in my recipe logic?
Can you please explain to me in more details about why I should indent certain lines in my recipe?
The logic of your recipe makes or break your integration solution. It is extremely important that small matters of your recipe is done correctly to prevent any logical error.
This is an example of a great recipe, but it doesn't work! As subtle as it can be, the logical flow of the recipe had been disrupted due to incorrect indention.
Where are the indention errors are?
1) Step 3 and 4
One of the most common indention errors that users are guilty of doing is not indenting the resulting action of a conditional action. Assuming that Step 4 is a resulting action of Step 3, where if Salesforce Expense object Invoiced field is not true, then search for Vendors in QuickBooks.
To do so, Step 4 has to be indented the way Step 6 was to Step 5. To indent a step, click on the desired step, and use Ctrl + Alt + up or down arrows to move the step around the recipe and indenting.
2) Step 5 and Step 8
These two steps are the opposite conditional actions. If the vendorID is not present, do this. If the vendorID is present, do this. However, Step 5 has an indention error. Step 5 indention should be on the same vertical line as Step 8, meaning they both belong to the same layer of indention. In this case, step 5 is under another Conditional action above, which may be a mistake that users are making.
Indention is the key to getting the right logic flow when using conditional actions and repeat action. Always be aware of them.
Phuong Nguyen
The logic of your recipe makes or break your integration solution. It is extremely important that small matters of your recipe is done correctly to prevent any logical error.
This is an example of a great recipe, but it doesn't work! As subtle as it can be, the logical flow of the recipe had been disrupted due to incorrect indention.
Where are the indention errors are?
1) Step 3 and 4
One of the most common indention errors that users are guilty of doing is not indenting the resulting action of a conditional action. Assuming that Step 4 is a resulting action of Step 3, where if Salesforce Expense object Invoiced field is not true, then search for Vendors in QuickBooks.
To do so, Step 4 has to be indented the way Step 6 was to Step 5. To indent a step, click on the desired step, and use Ctrl + Alt + up or down arrows to move the step around the recipe and indenting.
2) Step 5 and Step 8
These two steps are the opposite conditional actions. If the vendorID is not present, do this. If the vendorID is present, do this. However, Step 5 has an indention error. Step 5 indention should be on the same vertical line as Step 8, meaning they both belong to the same layer of indention. In this case, step 5 is under another Conditional action above, which may be a mistake that users are making.
Indention is the key to getting the right logic flow when using conditional actions and repeat action. Always be aware of them.