You can use a custom action menu item to manually start a message from a form. As a result, for a selected record, you can manually run the message from the form to which you added the action menu item. The message is run for the selected record only.
Example: Create an action menu item and add it to the Sales orders form. On the Sales orders form, you can select a sales order and click the action menu item button. This starts a message to process the selected sales order.


Standard procedure

1. Create the custom menu item. The action menu item must be of type class and must be linked to the 'BisActionRunMessage' class. To avoid best practice warnings, in the menu item setup, define the permissions for the roles who can use the action menu item.
2. Add the action menu item to the form from where you want to start the message. For example, the Sales orders form.
3. Make sure, the users, who must be able to run the message with the menu item, are assigned to the 'Message run (BisMessageRun)' role.
4. For the desired message, on the Message form, on the Header, in the Custom section, in the Action menu item name field, enter the name of the action menu item.
 

Note: Make sure, you link the menu item to only one message.

5. Test the menu item. Does it run the message with the desired result?
Related to Notes

Run message from a button

 

See also

Provide feedback