1
0
-1
2 answers
- 10-1
Hi, not all information might be available in that method. You might want to try other methods, for example workflowManager.getRunningActivityInfo(activityInstanceId)
Add your comment... - 10-1
Some functions and APIs would only return only certain default fields. If you need specific fields, you have to explicitly request it. This might help https://stackoverflow.com/questions/40170375/google-drive-rest-api-file-getcreatedtime-returns-always-null
Add your comment...
WorkflowActivity wfActivity = workflowManager.getActivityById(activityInstanceId);//it is OK
String processName = wfActivity.getProcessName();//it can get value
String activityName = wfActivity.getName();//it can get value
Date createdTime = wfActivity.getCreatedTime() //it is null.