Jump to content

CHECK DATA PLUGIN


Guest a11that

Recommended Posts

Guest a11that

have OGM1 which ask for %PIN%

 

OGM2 runs 'Chekdata' plugin like:

Checkdata.exe accounts.dat %cid%, %pin% which brings back the %status%

 

And I want to use that %STATUS% returned data, to decide which OGM to go to next. with a true/false

 

Am I using plugin variables in OGM in correct way?

Thanks.

Link to comment
Share on other sites

  • 1 year later...
have OGM1 which  ask for %PIN%

 

OGM2 runs 'Chekdata' plugin like:

Checkdata.exe accounts.dat %cid%,  %pin% which brings back the %status%

 

And I want to use that %STATUS% returned data, to decide which OGM to go to next.  with a true/false

 

Am I using plugin variables in OGM in correct way?

Thanks.

 

How you do to send caller to different OGM depending on the true or false??

Link to comment
Share on other sites

  • 1 year later...

Say you had a table like the following

 

Bob,12

Carol, 20

 

You would use the CheckData.exe in the following way

 

CheckData.exe <<File Path>> Bob 12 Result OGM1 OGM2

 

Bob could be a variable like %cid% and 12 could be a variable like %pin%, but Result would not be a variable (%Result%). Here you are assigning the name of the variable not calling a variable value (you call the value by put % around it).

 

So, in this case, because it finds Bob and because Bob's 2nd column is 12, Result gets assigned the MatchResult value which is OGM1 in this case. Therefore, you could set your "Go to OGM..." value to %Result%. This would call the value of the Result variable which is OGM1 and so would then go to OGM1.

 

If say cid=Carol and pin=65 and ran

 

CheckData.exe <<File Path>> %cid% %pin% Result OGM1 OGM2

 

checkdata would find Carol but the pin 65 would not match 20 and so the Result variable would be set to OGM2 and if your "Go to OGM..." was set to %Result%, your next OGM would be OGM2.

 

Hope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...