Skip to Content
avatar image
Former Member

Condition for Receiver Determination

Can we write a condition,where in if the files are coming from the specific folder it has to be recieved by a particular service and if its coming from a diff folder it has to be recieved by another service

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Nov 12, 2010 at 12:39 PM

    Yes, it is possible.

    In the receiver agreement, when you define condition for receivers, click on

    Condition --> Condition Editor, Left Operand --> Expression editor, Context Object ---> Directory

    You will get one the technical context object for file adapter, click on 'Directory'

    And now you put the condition based on which you want to route the file, it will be delivered to the respective target based on the source directory 😊

    -Supriya.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hmm of no use..

      its not recognising the condition for the folder

      Ex:

      The Requirement is we have 4 input folders which sends the file .we are using bpm to process them.

      The reqrmnt is now that we want the same bpm to run independently for each folder.so we have imported the same bpm in the configuration scenario with four different names.and in the receiver determination we gave the condition like u201Cdirectory=D:/out/xminu201D int_bpm1 and u201Cdirectory=D:/out/xmaxu201D int_bpm2