显示带有成功工作流程状态消息的弹出窗口 [英] Display a pop-up window with status message of a succeeded workflow

查看:121
本文介绍了显示带有成功工作流程状态消息的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行实时工作流程的表格。工作流成功后,我需要在弹出窗口或警报消息框中显示工作流的状态消息。

I've a form which runs a real-time workflow. When the workflow succeeds, I need to display the status message of the workflow in a pop-up window or an alert message box.

关于如何实现此目标的任何想法?

Any ideas on how I can achieve this?

推荐答案

仅当您取消工作流程


将状态设置为取消时,将阻止操作。包含停止操作状态消息
中文本的
错误消息将以标题业务流程错误显示给用户。

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.

作为解决方法,您可以让工作流将参考消息写入实体上的字段。然后,您可以编写JavaScript来检查消息字段是否包含数据,并显示向用户发送表单通知(如果您坚持则发出警报),然后清除消息字段。

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.

这篇关于显示带有成功工作流程状态消息的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆