天翎MyApps技术社区 - 低代码平台 | 流程管理系统 | BPM软件

 找回密码
 注册成为天翎用户
查看: 987|回复: 1

[已解决] 特急。。。。setValue为null

[复制链接]
派活园 发表于 2013-5-21 15:41:31 | 显示全部楼层 |阅读模式
本帖最后由 spiral 于 2013-5-21 16:44 编辑

var doc=getCurrentDocument();
var userid=doc.getItemValueAsString("c_executor");
var user=getUserById(userid);

var dt=getCurDate("yyyy-MM-dd HH:mm:ss");
var process = getDocumentProcess();
doc.findItem("c_creater").setValue(dt);
process.doUpdate();

setValue(dt)为空?????
spiral 发表于 2013-5-21 16:44:27 | 显示全部楼层
通过远程协助,修改为以下代码后可以正常使用:
doc.findItem("c_creater").setValue(getToday());

本版积分规则

QQ|手机版|天翎MyApps技术社区 ( 粤ICP备11093750号 )

GMT+8, 2026-8-12 23:06

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表