Answered

Insert values to WFUSER entity using saveEntity from the SOA layer

Hi,

I am trying to mass update users using SOA layer, which I can do fine for default properties, and single extended properties, but I can't do it for one-to-multiple entities. I have a custom entity named PermisoImputacion which I can select one or many entries for an user.

So, basically I'm trying something like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tem="http://tempuri.org/">;

<soapenv:Header/>

<soapenv:Body>

<tem:saveEntity>

<!--Optional:-->

<tem:entityInfo>

<BizAgiWSParam><Entities>

<WFUSER key='72'>

<CentrodeCosto>2100-M4610</CentrodeCosto>

<PermisoImputacionRol>

<idp_PermisoImputacionRol key='2' />

</PermisoImputacionRol>

</WFUSER>

</Entities></BizAgiWSParam>

</tem:entityInfo>

</tem:saveEntity>

</soapenv:Body>

</soapenv:Envelope>

The CentrodeCosto entity as being a simple entity updates just fine, but I can't add entries to the PermisoImputacionRol entity.

Any help is greatly appreciated, thanks!

Comments (1)

photo
1

Dear Guillermo,

In order to update values through a web service, please refer to this article in which there are examples: http://help.bizagi.com/bpm-suite/en/index.html?saveentityasstring.htm

For example: Method saveEntity

  1. <BizAgiWSParam>

    <Entities>

    <City>

    <Name>Cartagena</Name>

    <Code>4</Code>

    <Country businessKey="Code='1'"></Country>

    </City>

    <City key="2">

    <Name>Bogota D.C.</Name>

    </City>

    <City businessKey="Code='3'" >

    <dsblCity>true</dsblCity>

    </City>

    </Entities>

    </BizAgiWSParam>

Regards