cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find bpInstance and sessionID?

OmkarShete
Level 3
I have exposed one process
now when i hit that process it ask me about bpInstance and sessionID. from where i can find it?

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<Action3 xmlns="urn:blueprism:webservice:test">
<bpInstance>[string]</bpInstance>
</Action3>
</Body>
</Envelope>

------------------------------
Omkar Shete
------------------------------
1 REPLY 1

Hi, Omkar,

first when you publish the process it does not want bpinstance. That is required when you publish business object action.

Now - bpinstance - you have a couple otpions. The best one first - type instead of that string value word auto - that means auto-initialization. Then you do not have to worry about anything else Blue Prism takes care of everything. The only drawback is that to get rid of that session later on you need to restart the Runtime Resource.

The other option is to get the number via a code to call Initialize action of the VBO which will return sessionID which you will then use in your subsequent call to your webservice.

Regards

------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------