Skip to content

ParticipantAdapter - update ACL and owner without an event #538

Description

@chrisw14

Hi,
with AccessPlugin and OwnerPlugin it was possible to refresh the ACL and owner without an event like here:

			AbstractPlugin accessPlugin = new AccessPlugin();
			AbstractPlugin ownerPlugin = new OwnerPlugin();
			try {
				accessPlugin.init(getWorkflowService());
				ownerPlugin.init(getWorkflowService());
				workitem = accessPlugin.run(workitem, task);
				workitem = ownerPlugin.run(workitem, task);
			} catch (PluginException e) {
				e.printStackTrace();
			}

Is this also possible with the new ParticipantAdapter? Unfortunately, all public methods of ParticipantAdapter wants to have an event but in my case the $taskid is set and I need the ACL and owners for a new workitem. Doesn't work since the update to 5.0.1 and using the new method ParticipantAdapter.execute(...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions