Topic Options
#51784 - 06/10/15 11:08 AM Condition on variable
alessandro.bianc Offline
OL Newbie

Registered: 05/11/15
Posts: 4
Hi,
I have a proces with a local variable, I'm trying to insert a condition on the value of this variable that I have changed into a sript.
It's possible insert a condition on a variable of my process ?

Thank you
Alessandro.

Top
#51793 - 06/11/15 09:21 AM Re: Condition on variable [Re: alessandro.bianc]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4953
Loc: Objectif Lune Montreal
Hi Alessandro,

A simple Text Condition can do the trick. In the "String" field, put your variable. Then select the proper Operator, based on what kind of condition you want to do (equal, not equal, greater than, lesser than, etc...), and the "Compare to string" is the value you're going to compare your variable to. Once you place the condition, it will create a branch for the True result. If it's True, it will go in that branch. If False, it will continue down the workflow.

Hope that helps!

Regards,
Raphaƫl Lalonde Lefebvre

Top
#52421 - 09/22/15 10:48 AM Re: Condition on variable [Re: alessandro.bianc]
northcoast55 Offline
OL Newbie

Registered: 09/22/15
Posts: 3
DATA SELECTIONS ARE
ACCOUNT = A123456789
NET = 46.95
GROSS = 48.95
NEED A STRING 27 CHAR
10 FOR ACCOUNT
8 FOR NET
8 FOR GROSS
AND 0 AT END

USING THIS
=@(1,14,14)+@(1,15,23)+'000000' +@(1,34,39)+@(1,41,42)+'000000' +@(1,84,89)+@(1,91,92)+'0'
BUT GET
A123456789000000 4695000000 48950
SHOULD BE
A12345678900004695000048950

THE ZEROS DON'T PAD ALWAYS GET 6




Edited by northcoast55 (09/22/15 10:50 AM)

Top