You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Timothy <ti...@gmail.com> on 2013/05/22 14:45:07 UTC

Rest call workflow

Hi all, 

I'm having a little trouble understanding the default workflow in Syncope.
The documentation on workflows is not that much but I did find that you need
to update changes to the workflow via a REST call. However, this was in a
post from a year ago and I don't know if this still is the way to go.

I have edited the default workflow (I have replaced the entire workflow with
[1]) and saved it but I don't see any difference in layout or functions. I'm
guessing the file is located in [2] but I can't seem to get it working.

[1] https://cwiki.apache.org/SYNCOPE/self-registration-password-reset.html
[2] http://localhost:9080/syncope/rest/configuration/

As always thanks for the help and with kind regards,

Timothy



--
View this message in context: http://syncope-dev.1063484.n5.nabble.com/Rest-call-workflow-tp5713716.html
Sent from the syncope-dev mailing list archive at Nabble.com.

Re: Rest call workflow

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 23/05/2013 12:15, Timothy wrote:
> Hi Fabio,
>
> thanks for the reply! I have edited the workflow in console-management. I
> replaced the default workflow doing case 2 with the workflow from [1] and
> pressed save. When I make a new user, I get following message
> Error:{[Workflow [couldn't instantiate class
> org.apache.syncope.core.workflow.activiti.Create]]}

Timothy,
[1] works for Apache Syncope 1.0.X - I have just added some warning there.

You might want to adapt it to Apache Syncope 1.1.X but you would need to 
change some information like as package for Java classes.

For example,

org.apache.syncope.core.workflow.activiti.Create

is now

org.apache.syncope.core.workflow.user.activiti.task.Create

HTH
Regards.

P.S. Someone else has already [2] invited you to post such questions to 
the user mailing list (not here, the dev mailing list), please follow 
his advice, thanks.

> [1] https://cwiki.apache.org/SYNCOPE/self-registration-password-reset.html
[2] 
http://syncope-dev.1063484.n5.nabble.com/MySQL-Synchronization-tp5713710p5713713.html

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


Re: Rest call workflow

Posted by Timothy <ti...@gmail.com>.
Hi Fabio,

thanks for the reply! I have edited the workflow in console-management. I
replaced the default workflow doing case 2 with the workflow from [1] and
pressed save. When I make a new user, I get following message
Error:{[Workflow [couldn't instantiate class
org.apache.syncope.core.workflow.activiti.Create]]}

[1] https://cwiki.apache.org/SYNCOPE/self-registration-password-reset.html

Kind regards,

Timothy



--
View this message in context: http://syncope-dev.1063484.n5.nabble.com/Rest-call-workflow-tp5713716p5713722.html
Sent from the syncope-dev mailing list archive at Nabble.com.

Re: Rest call workflow

Posted by Fabio Martelli <fa...@gmail.com>.
Il 22/05/2013 14:45, Timothy ha scritto:
> Hi all,
>
> I'm having a little trouble understanding the default workflow in Syncope.
> The documentation on workflows is not that much but I did find that you need
> to update changes to the workflow via a REST call. However, this was in a
> post from a year ago and I don't know if this still is the way to go.
>
> I have edited the default workflow (I have replaced the entire workflow with
> [1]) and saved it but I don't see any difference in layout or functions. I'm
> guessing the file is located in [2] but I can't seem to get it working.
Hi Timothy, where do you edited the workflow?
1. Have you replaced the file?
2. have you performed changes via administration console 
(Configuration/Workflow tab)?

In case (1) you have to restart syncope from scratch (by starting-up 
with an empty db).
In case (2) your customization is loaded yet but you have to consider 
that it will be applied just to new users. All existing users at new wf 
loading will continue to be managed with the previous wf (in general 
each user will continue to be managed with the wf running at user 
creation time).

Best regards,
F.

>
> [1] https://cwiki.apache.org/SYNCOPE/self-registration-password-reset.html
> [2] http://localhost:9080/syncope/rest/configuration/
>
> As always thanks for the help and with kind regards,
>
> Timothy
>
>
>
> --
> View this message in context: http://syncope-dev.1063484.n5.nabble.com/Rest-call-workflow-tp5713716.html
> Sent from the syncope-dev mailing list archive at Nabble.com.