Hi Francesco, 
testing the default userWorkflow using the Swgger UI, i have the following 
problem:

"JAXBException occurred : Unexpected character '{' (code 123) in prolog; 
expected '<'
 at [row,col {unknown-source}]: [1,1]. "

"connection: close 
 content-encoding: gzip 
 content-length: 133 
 content-type: text/plain;charset=UTF-8 
 date: Fri,13 May 2022 06:57:28 GMT 
 vary: Accept-Encoding 
 x-syncope-domain: Master "

I leave all default value and the environment clean running a new stack on 
docker without custom settings or data.
Do you have more information with this problem?

Regards
Davide

-----Messaggio originale-----
Da: Francesco Chicchiriccò <ilgro...@apache.org> 
Inviato: venerdì 13 maggio 2022 08:38
A: user@syncope.apache.org
Oggetto: Re: User certification on Syncope 2.1.x

On 12/05/22 11:25, Lionel SCHWARZ wrote:
> ----- Le 12 Mai 22, à 10:37, Francesco Chicchiriccò ilgro...@apache.org a 
> écrit :
>
>> On 12/05/22 09:46, Davide Ceravolo wrote:
>>> Hi Francesco,
>>>
>>> The use case is as follows, I would need cyclically to be able to 
>>> run a flow where the various supervisors can tell whether the 
>>> account is in use or not at the end of which it generates a report.
>>>
>> With such requirements, I would base the implementation on Request 
>> Management [1].
>>
>> Essentially, you can define a BPMN flow with multi-level approval 
>> where you can add Java Tasks fetching data from Syncope internal 
>> storage and attached Resources.
>> (I know this sounds quite generic, but actual implementation is 
>> really dependent on details).
> Hi Francesco,
> If I understand correctly, in the case you mention, the user starts the 
> request using the "Requests" tab in the end user UI. Is there a way for 
> someone else to start this request on behalf of the user (following then the 
> same workflow). If yes how?

Yes, this is possible.

Check this integration test case [1] which first creates a new user, then 
starts as admin a new request [2] for that user: you can check the difference 
between [2] and [3] where instead a request is started by the user itself.

You can check from Swagger UI or the REST reference [4] that the corresponding 
endpoint is

POST /flowable/userRequests/start/{bpmnProcess}

Other endpoints under the same service can be used to advance the process, 
submit forms, etc. again available both as plain user (for self) or admin (for 
other users).

Most of such features are also available from Admin Console.

HTH
Regards.

[1]  
https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L76&e=db34c9a2&h=0077c111&f=y&p=n
[2]  
https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L82&e=db34c9a2&h=91b6ab2a&f=y&p=n
[3]  
https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L201&e=db34c9a2&h=0573b342&f=y&p=n
[4]  
https://urlsand.esvalabs.com/?u=https%3A%2F%2Fsyncope.apache.org%2Frest%2F2.1%2Findex.html&e=db34c9a2&h=c0d6774f&f=y&p=n
 

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
 
https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.tirasa.net%2F&e=db34c9a2&h=7ac60b7d&f=y&p=n
 

Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, 
PonyMail  
https://urlsand.esvalabs.com/?u=http%3A%2F%2Fhome.apache.org%2F~ilgrosso%2F&e=db34c9a2&h=23f08333&f=y&p=n
 







Reply via email to