Skip to Content
मेन्यू
This question has been flagged

Hello Everyone, 

I have to try to get a one by one value using index and update the stage in states but i have cross only first stage so can how to get next stage and respectively. 

my python for loop code below :

for res in status_list:    
print"res", res
self.workflow_stages = res
if res:
self.workflow_stages = res
for index, item in enumerate(status_list):
print "test::", index
index_init = index
print"index_init:::", index_init
next = index_init + 1
print "next", next
return True

Thanks in Advanced.

  

Avatar
Discard
Related Posts Replies Views Activity
1
जुल॰ 19
8507
0
जुल॰ 19
1128
1
जन॰ 22
28848
1
जून 18
15333
1
मार्च 18
4122