跳至内容
菜单
此问题已终结

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.

  

形象
丢弃
相关帖文 回复 查看 活动
1
7月 19
8128
0
7月 19
1128
1
1月 22
28212
1
6月 18
14862
1
3月 18
3886