コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
8410
0
7月 19
1128
1
1月 22
28730
1
6月 18
15217
1
3月 18
4069