Vignesh. Thank you for your responses.The whole situation is, i muss read from a directory all the files and then if the file is Compressed es must be decompressed and move to an directory1, and then send an email to the admin(with subject1), if the file is Err, must be sent in another directory (directory2 ) and then an email to the admin(with subject2).
I have 2 custom activities, one as sendMail() and one as moveFile(), and they should place in the if-else branch. Each activity has Property, sendMail with To, From, Subject( like the example of SDK).
Vignesh, acording to you, that means i should define for the workflow also From,To.. properties? And in the local service, i should define a method, with 2 events, if Compressed is true then the subject is subject1 and goal directoy ist directory1, is that right? But if the scenario is bigger, and i have more if-case (more type of files), could i use a queue for these parameter?
Could you give me more details ?
thanks in advance
EP