|
楼主 |
发表于 2017-5-9 19:15:39
|
显示全部楼层
本帖最后由 qweasdzxc 于 2017-5-10 10:10 编辑
用下图的方法不对,单独使用后面的find那个函数也爆粗,relationValue('^^SAM_AssetModify中未找到需要的元素, 位置106期望是)
- 2017-05-10 10:06:11 excute stream action, params:{"accept":"application/json","action":"externalAdvanceProcessQueryAction","actionFlag":"__action_0__","activity":"businessActivity3","contentType":"application/json","executeContext":"","executor":"/ORG01.ogn/7LsEXhqQQfenjnBM4Ao.dpt/jBhUtEIuYQu42F4XA5x.pos/q9wuRfar1FcltbclcRM@jBhUtEIuYQu42F4XA5x.psm","parameters":{"task":"ED8EDE00A63840DEA1ED50ADF8E37E91"},"process":"/SAM/assetManage/process/asset_modify/asset_modifyProcess"}
- java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:497)
- at com.justep.system.action.Engine.invokeActions(Native Method)
- at com.justep.system.action.Engine.invokeActions(Unknown Source)
- at com.justep.business.server.BusinessServer.doAction(Unknown Source)
- at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
- at com.justep.business.server.BusinessServer.excute(Unknown Source)
- at com.justep.business.server.BusinessServer.excute(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
- at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:497)
- at com.justep.system.action.Engine.invokeAction(Native Method)
- at com.justep.system.action.Engine.invokeAction(Unknown Source)
- at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
- at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
- at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
- at com.justep.system.process.ProcessUtils.advanceProcessQuery(Unknown Source)
- at ExternalProcessProcedure.advanceProcessQuery(ExternalProcessProcedure.java:26)
- ... 27 more
- Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154064; 提示: 计算表达式findActivityCreator('START') and findPersonMembersByID(null,'relationValue(''SAM_AssetModify'',null,''SAM_AssetModify=getProcessData1()'',null,''fProviderID'',''/SAM/assetManage/data'')')出错
- at com.justep.model.exception.ModelException.create(Unknown Source)
- at com.justep.system.ksql.parser.ExpressionImpl.evaluate(Unknown Source)
- at com.justep.system.process.ExpressEngine.calculate(Unknown Source)
- at com.justep.system.process.ProcessRuleEngine.exprToOrgUnit(Unknown Source)
- at com.justep.system.process.ProcessRuleEngine.executorRangeToProcessControlItem(Unknown Source)
- at com.justep.system.process.ProcessRuleEngine.noticeRuleToProcessControlItem(Unknown Source)
- at com.justep.system.process.ProcessRuleEngine.processNoticeRuleToProcessControl(Unknown Source)
- at com.justep.system.process.ProcessQueryEngine.makeProcessNotice(Unknown Source)
- at com.justep.system.process.AdvanceProcessQueryEngine.execute(Unknown Source)
- at com.justep.system.process.ProcessEngine.advanceQuery(Unknown Source)
- at ProcessProcedure.advanceProcessQuery(ProcessProcedure.java:338)
- ... 38 more
- Caused by: com.justep.exception.BusinessException: 编码: JUSTEP154066; 提示: 表达式AND只能接受布尔值参数
- at com.justep.exception.BusinessException.create(Unknown Source)
- at com.justep.util.Utils.check(Unknown Source)
- at com.justep.system.ksql.parser.ExpressionImpl.andExpression(Unknown Source)
- at com.justep.system.ksql.parser.ExpressionImpl.orExpression(Unknown Source)
- ... 48 more
复制代码
具体在哪自定义一个函数? 不知道怎么在表达式编辑器中定义、添加自定义函数?怎么用relationValue获取到表单中保存那个字段的人ID ,我存了名字?
|
-
|