Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6367 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 19
8404
0
lug 19
1128
1
gen 22
28728
1
giu 18
15217
1
mar 18
4068