Question Prasanth Annamreddy · Oct 24, 2023

How to create new Session for each transaction in Batch scheduled Job

We are running Batch job in scheduled task and the messages are picking in single session and it is not easy to trace the record.

I used the Set ..%SessionId= "" at before sending the message to BP but I see the session Id is '1' created for each message.

Is there anyother way to create new session for each message sending to BP?

Thanks,

Product version: IRIS 2020.1

Comments

Eduard Lebedyuk · Oct 25, 2023

Set ..%SessionId= ""  before each SendSync/SendAsync should force a new session for each message sent.

0
Colin Brough  Jan 19, 2024 to Eduard Lebedyuk

Thanks Eduard, that answered my question without me having to ask it! 

0