Display a pop-up window with status message of a succeeded workflow

房东的猫 提交于 2019-12-02 08:30:16

You can only show messages to the user from within a synchronous workflow if you cancel the workflow:

When you set the status to canceled, you prevent the operation. An error message containing the text from the stop action status message will be displayed to the user with the heading Business Process Error.

There is no way of showing an informational message from a succeeded workflow.

As a workaround, you could have the workflow write your informational message to a field on the entity. You could then write JavaScript that checks if the message-field contains data, show a form notification (or an alert if you insist) to the user, and subsequently clear the message-field.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!