Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to get the value #110

Open
vijaychowthri opened this issue May 21, 2019 · 0 comments
Open

unable to get the value #110

vijaychowthri opened this issue May 21, 2019 · 0 comments

Comments

@vijaychowthri
Copy link

i couldnt get the value of "stepid" & "stepname" for each phase

JsonArray processsingstage = Json.parse(output).asObject().get("data").get("processsingstage").asArray();

How to get the value of stepid for respective "stepname" ?

{
"iscore": false,
"issuccess": true,
"message": "RoadMap for project id P10100 retrieved successfully",
"data": {
"project": {
"opsid": "P10100"
},
"processsingstage": [
{
"processingstagedetails": {
"stepid": "PRC0001",
"stepname": "I-PHASE",
"sequencenumber": 1000,
"steptype": {
"name": "OPS Process Template Type - Stage",
"code": "STAGE"
},
"steptemplate": {
"name": "AIS0010000 I-PHASE",
"code": "AIS0010000"
},
"stepstatus": {
"name": "BPM Process Status- Not Started",
"code": "PRS_STATUS_NOTSTART",
"stepstatuscode": "E"
},
"stepstage": {
"name": "OPS Process Stage - AIS",
"code": "AIS"
},
"description": "",
"steptemplatestatus": "Active",
"ishidden": false,
"ishiddenindicator": false,
"isroadmap": true,
"isoptional": false,
"ruletrigger": 0
},
"processingsubstage": [
{
"processingsubstagedetails": {
"stepid": "PRC002",
"stepname": "Prepare I-PHASE Package",
"sequencenumber": 1100,
"steptype": {
"name": "OPS Process Template Type - Sub Stage",
"code": "SUBSTAGE"
},
"steptemplate": {
"name": "AISS011000 Prepare I-PHASE Package",
"code": "AISS011000"
},
"parentstep": {
"name": "I-PHASE",
"code": "PRC0001"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant