Re: Notifications based on performed workflow tasks
On 25/09/2014 17:29, Guido Wimmel wrote: Hi, up to Syncope 1.1.4, notifications could be sent based on the performed tasks as reported back by the UserWorkflowAdapter (e.g. UserController.create(): notificationManager.createTasks(created.getResult().getKey(), created.getPerformedTasks()). Since Syncope 1.1.5, this was apparently changed (via SYNCOPE-423) such that the event passed to the notification manager to determine which notification is sent is only based on the method name in the ...Controller-Class. Even if you execute a workflow task via UserWorkflowController.executeWorkflowTask(), you only get executeWorkflowTask as an event. Is this correct? If so, is there another way currently to use the performed task to decide which notifications are sent? Hi Guido, as you correctly report above, with Syncope 1.1.5+ (including 1.2.X) the notification mechanism has completely changed and is now much more powerful than it used to be: you can get notified of nearly any event occurring in the system (by empowering aspect programming). But as you know, power comes at a price: sending notifications from workflow is now slightly different. As part of SYNCOPE-135 - which I should be able to resolve today - I have developed a simple general-purpose notification triggering utility [1] available to be invoked from within Activiti workflow; as you can see, such class can be easily backported to 1.1.X (or even copied over with minimal modifications to any overlay project for Syncope 1.1.5+). Basically, the idea is to define notification for CUSTOM events - see [2] (first notification defined there) - and then to trigger such notifications from within workflow by using the Notify task as said above; naturally, you'll need to match the event string provided for the CUSTOM notification with the 'event' workflow variable to trigger the desired notification. At least an explaining wiki page is worthwhile for this new mechanism; backporting [1] to branch 1_1_X is also desirable. Regards. [1] https://svn.apache.org/repos/asf/syncope/branches/1_2_X/core/src/main/java/org/apache/syncope/core/workflow/user/activiti/task/Notify.java [2] https://svn.apache.org/repos/asf/syncope/branches/1_2_X/core/src/main/resources/content.xml -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org/~ilgrosso/
[jira] [Commented] (SYNCOPE-135) Password reset
[ https://issues.apache.org/jira/browse/SYNCOPE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149016#comment-14149016 ] ASF subversion and git services commented on SYNCOPE-135: - Commit 1627742 from [~ilgrosso] in branch 'syncope/branches/1_2_X' [ https://svn.apache.org/r1627742 ] [SYNCOPE-135] Handling of the whole password reset process now available via admin console Password reset -- Key: SYNCOPE-135 URL: https://issues.apache.org/jira/browse/SYNCOPE-135 Project: Syncope Issue Type: New Feature Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.2.0 Provide password reset feature, that can be accessed either trough the console and via REST call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SYNCOPE-135) Password reset
[ https://issues.apache.org/jira/browse/SYNCOPE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149022#comment-14149022 ] ASF subversion and git services commented on SYNCOPE-135: - Commit 1627743 from [~ilgrosso] in branch 'syncope/trunk' [ https://svn.apache.org/r1627743 ] [SYNCOPE-135] Merge from 1_2_X Password reset -- Key: SYNCOPE-135 URL: https://issues.apache.org/jira/browse/SYNCOPE-135 Project: Syncope Issue Type: New Feature Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.2.0 Provide password reset feature, that can be accessed either trough the console and via REST call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (SYNCOPE-135) Password reset
[ https://issues.apache.org/jira/browse/SYNCOPE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò resolved SYNCOPE-135. Resolution: Fixed Password reset -- Key: SYNCOPE-135 URL: https://issues.apache.org/jira/browse/SYNCOPE-135 Project: Syncope Issue Type: New Feature Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.2.0 Provide password reset feature, that can be accessed either trough the console and via REST call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SYNCOPE-135) Password reset
[ https://issues.apache.org/jira/browse/SYNCOPE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiriccò updated SYNCOPE-135: --- Fix Version/s: 1.3.0 Password reset -- Key: SYNCOPE-135 URL: https://issues.apache.org/jira/browse/SYNCOPE-135 Project: Syncope Issue Type: New Feature Reporter: Francesco Chicchiriccò Assignee: Francesco Chicchiriccò Fix For: 1.2.0, 1.3.0 Provide password reset feature, that can be accessed either trough the console and via REST call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (SYNCOPE-552) Provide Activiti modeler installation feature to installer
Andrea Patricelli created SYNCOPE-552: - Summary: Provide Activiti modeler installation feature to installer Key: SYNCOPE-552 URL: https://issues.apache.org/jira/browse/SYNCOPE-552 Project: Syncope Issue Type: Improvement Components: installer Affects Versions: 1.2.0 Reporter: Andrea Patricelli Fix For: 1.2.0, 1.3.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (SYNCOPE-529) Install through HTTP proxy
[ https://issues.apache.org/jira/browse/SYNCOPE-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Patricelli resolved SYNCOPE-529. --- Resolution: Fixed Install through HTTP proxy -- Key: SYNCOPE-529 URL: https://issues.apache.org/jira/browse/SYNCOPE-529 Project: Syncope Issue Type: Sub-task Components: installer Affects Versions: 1.2.0-M1 Reporter: Massimiliano Perrone Assignee: Andrea Patricelli Fix For: 1.2.0 Add a panel with proxy info to allow syncope installation through HTTP proxy -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SYNCOPE-529) Install through HTTP proxy
[ https://issues.apache.org/jira/browse/SYNCOPE-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149573#comment-14149573 ] ASF subversion and git services commented on SYNCOPE-529: - Commit 1627815 from [~andrea.patricelli] in branch 'syncope/trunk' [ https://svn.apache.org/r1627815 ] [SYNCOPE-529] merge from branch 1_2_X Install through HTTP proxy -- Key: SYNCOPE-529 URL: https://issues.apache.org/jira/browse/SYNCOPE-529 Project: Syncope Issue Type: Sub-task Components: installer Affects Versions: 1.2.0-M1 Reporter: Massimiliano Perrone Assignee: Andrea Patricelli Fix For: 1.2.0 Add a panel with proxy info to allow syncope installation through HTTP proxy -- This message was sent by Atlassian JIRA (v6.3.4#6332)