Answered

Virtualization: Create new Bizagi process when new record is added to external entity

Hi!

I'm studying Bizagi's integration using virtualization. I had no problem virtualizing external entities (tables and relationships) and integrating these with Bizagi's entities.

After this, i want to create a new process when a new record is added (by another application) to the external entities. I think that this is possible using web services (SOA Layer), but my academic interest is if there is any other way (per example, using an "father process" that verifies if there is a new record on external entity, and sends a signal to start another process?...).

Thank's!

photo
0

Excellent Andrew,

Regards

photo
0

Hello!

Please help in solving the problem.

When sending a request to the server by SOAP gives the following error:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><createCasesResponse xmlns="http://tempuri.org/"><createCasesResult><processes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns=""><process><processId>0</processId><processRadNumber>0</processRadNumber><processError><errorCode>1</errorCode><errorMessage>Object reference not set to an instance of an object.</errorMessage></processError></process></processes></createCasesResult></createCasesResponse></soap:Body></soap:Envelope>

request:

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">;

<soap:Body>

<createCases xmlns="http://tempuri.org/">;

<casesInfo>

<BizAgiWSParam>

<domain>domain</domain>

<userName>admon</userName>

<Cases>

<Case>

<Process>Mailaction</Process>

<Entities>

<Mailaction>

<MailText>TestMassage</MailText>

</Mailaction>

</Entities>

</Case>

</Cases>

</BizAgiWSParam>

</casesInfo>

</createCases>

</soap:Body>

</soap:Envelope>

Thanks in advance.

photo
0

Dear Dmitry,

Try to add the header like Andrew did. In addition, check the examples in the articles I posted a week ago.

Best Regards