Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文件说
仅使用 Workflow.currentTimeMillis() 来获取工作流中的当前时间。
它是否也仅适用于工作流或活动?我可以System.currentTimeMillis()在活动实施中使用吗?
System.currentTimeMillis()
文档中提到的实现约束适用于工作流而不是活动。System.currentTimeMillis()可以在活动实现中使用。在这里操作。