Multi Variable Loop+Email - Continue if Fail

More
2 years 6 months ago #23692 by prashant

You can use this approach



Or you can write a script to check if variable is empty




 
OOoh fancy !! OK 
1. In Option #1 , how do I if failure will the loop start all over again or pick up from next row?
2. In Option#2 ,  will need help with script , how to 'skip' ? 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #23694 by admin
1. In Option #1 , how do I if failure will the loop start all over again or pick up from next row?

It will pick up from next row

2. In Option#2 ,  will need help with script , how to 'skip' ? 

Here is an example
​​​​​​​
begin
 if GetVariable('<email>')='' then
   Result := false
  else
   Result := true;
end;

 

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #23697 by prashant
I completely forgot about the Getvariable !! Thank you , will test this and revert

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #23703 by prashant
 

IN this case , Loop+Email went in infinite loop , the list was around 20 emails , my team complained when to me when loop was executed 20 times already

Any idea what I did wrong?

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #23705 by admin
Blue line is executed on success
Orange line is executed on failure

In case of loop orange line is executed when loop is completed <= this why you have infinite loop

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago - 2 years 6 months ago #23708 by prashant

 

You can use this approach

Today I need extra strong coffee ! Still didn't understand . Which example below solve the infinite loop problem?

 

OR THIS WILL SOLVE?
 
 
Last edit: 2 years 6 months ago by prashant.

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save