Condition for two file names

0
Hi, I have two file format. I have to check those file names if the file name are same I will get a message as successful or it will go to false condition. I had tried with replace all string function. I’m not sure what should I need to write in decision? Appreciate your help.
asked
1 answers
1

Hi Lavanya,

 

Create 2 String Variables IF $file1 contains ‘.’ THEN substring($file1,0,find($file1,’.’)) ELSE $file1 and 2nd Variable

IF $file2 contains ‘.’ THEN substring($file2,0,find($file2,’.’)) ELSE $file2

 

Now Compare these 2 variables in decision box. If they are equal take it to Successful Message. 

 

Note: Contains function use appropriately after checking Mendix Documentation

answered