Problem/Motivation
I would like to enable admins to execute workflow transitions for the provided registration workflow. Specifically for using the 'Cancel' transition. I am not able to find a way to expose this functionality.
With other workflows I've used, there are permissions associated with each transition that need to be enabled for users to have access. I believe this often adds a workflow widget to the Views or Forms for a given entity.
Bonus Points would be adding an 'operation' that an admin can use for cancelling a registration. Is there a way this can be accomplished, or a recommended approach? Or do all transitions need to be executed via custom code?
See attached screenshot.
Comments
Comment #2
john.oltman commentedThis is a great idea but not currently supported directly. You can always use the "Manage Registrations" listing and Edit the registration and change the Status to Canceled there. In order for Cancel to be one of the available states in the Status field you will have to visit the Workflow admin pages in Drupal admin and make sure "Show on Form" is checked for the Cancel status.
Comment #3
john.oltman commentedComment #4
john.oltman commentedI added this issue for the Cancel operation:
https://www.drupal.org/project/registration/issues/3321661
This is high on my priority list.
Comment #5
john.oltman commentedComment #6
john.oltman commentedComment #7
john.oltman commentedOperations for workflow transitions will be added soon as noted in the comments for https://www.drupal.org/project/registration/issues/3323529
Comment #9
john.oltman commentedComment #10
john.oltman commentedEnable the new registration_workflow submodule and configure the associated permissions to add this to your site.
Comment #11
john.oltman commentedCommitted and will be in the next release out this week.
Comment #13
john.oltman commented