Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 19
8374
0
jul. 19
1128
1
jan. 22
28696
1
jun. 18
15173
1
mar. 18
4056