Comments (1)
脚本执行报错会工单会停留在此状态,且工单有个标识会标记工单是脚本执行失败了。前端可以根据这个字段显示个按钮如:"重试",用户点击重试按钮会调用loonflow的重试接口再次执行脚本。
如果需要根据脚本执行结果来走不同的分支,可以这样:
给工作流定义一个自定义字段。脚本状态的流转配置一个条件流转,这个条件表达式根据该字段确定不同的走向,脚本执行过程中根据执行结果给这个字段赋予不同的值。可以参考下#33
from loonflow.
Related Issues (20)
- 用户同步问题 HOT 1
- docker目录挂载的问题 HOT 7
- 请问是否可以支持工单详情数据导出 HOT 1
- 请问在用户管理如果不需要email和电话需要在哪些地方进行删改? HOT 7
- 大佬,一层层领导审批怎么做 HOT 1
- 兄弟们,工作流状态数据怎么支持列表 HOT 1
- 项目启动报错Broken pipe HOT 6
- docker镜像实在是太臃肿了 HOT 2
- 审批后,获得某些资源的权限,这个怎么做 HOT 2
- 老哥,用户,部门这些通用的,建议你直接用dvadmin的后台,后面再加工单和工作流的模型,这样重构比较好 HOT 1
- 一个部门下分管流程的领导不一样要怎么来设置流程 HOT 1
- 新建工单留言错误 HOT 7
- 工单流转 HOT 3
- 分配方式为全部处理,a,b,c 三人怎么实现处理意见为不同字段 HOT 1
- 关于r1.0.9的版本,和最新版2.0.18一些问题 HOT 14
- 状态脚本执行和hook的调用问题 HOT 30
- 大佬,父子工单的例子有吗?我看文档很少提及父子工单 HOT 1
- 前端小白关于页面的几个问题向请教一下怎么改? HOT 3
- 当部门有多个leader时,如何配置creator_tl如何复选某种角色? HOT 1
- 创建工单问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loonflow.