Hi All, I would like to check that there is a scenario. I have a 3 or 4 file-listeners and the listening files paths are different. I would like to create one common activity which will be triggered by these 4 listeners. But there is a different variable need to be assigned based on different listeners. In that case, inside activity step, I would like to know which listener trigger the activity. How can I achieve this scenario? Can we can find out the listener name inside the activity when it is being triggered?
Properties pyOriginalDirectory and pyOriginalFileName identify the input file. So, use these values in you source activity to differentiate between listeners. Since, each listener listens to different folder, you can identify based on folder name that which listeners calling the activity.
Note: pyOriginalDirectoryis the folder to which the listener listens.