1
0
-1

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.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi, not all information might be available in that method. You might want to try other methods, for example workflowManager.getRunningActivityInfo(activityInstanceId)


        CommentAdd your comment...
      1.  
        1
        0
        -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


          CommentAdd your comment...