Compare commits

..

2 Commits

Author SHA1 Message Date
sdk-team
678893901f Add TimeOut. 2023-07-17 15:06:01 +00:00
sdk-team
1bf5fe98af Get Workflow Instance Add Node Field. 2023-07-17 08:49:00 +00:00
3 changed files with 4 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1661
1.36.1663

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
long jobInstanceId;
std::string workAddr;
std::string startTime;
std::string jobName;
std::string dataTime;
long jobId;
std::string result;

View File

@@ -76,6 +76,8 @@ void GetWorkflowInstanceResult::parse(const std::string &payload)
nodeObject.attempt = std::stoi(wfInstanceDagNodeNodesNode["Attempt"].asString());
if(!wfInstanceDagNodeNodesNode["Status"].isNull())
nodeObject.status = std::stoi(wfInstanceDagNodeNodesNode["Status"].asString());
if(!wfInstanceDagNodeNodesNode["JobName"].isNull())
nodeObject.jobName = wfInstanceDagNodeNodesNode["JobName"].asString();
data_.wfInstanceDag.nodes.push_back(nodeObject);
}
auto allEdgesNode = wfInstanceDagNode["Edges"]["Edge"];