|
From: Vincenzo Di S. <e.d...@ic...> - 2001-10-08 16:57:42
|
You cannot change the token status from new to complete, you have to=20
pass from the assigned state.
Juli=E1n Mu=F1oz Dom=EDnguez wrote:
> What I am doing is moving tokens form python scripts, like this (for
> example from Begin activity:
>=20
> token.changeStatus('Begin', 'complete')
> token.move('Begin', None)
>=20
>=20
> But when I look the history, this activies are not in white (complete),
> but in yellow (new).
>=20
> But, an automatic activity sets well the color (white).
>=20
> I have looked at the code, but with no explanation (in fact I don't
> understand yet the leaf structure in the history class).
>=20
>=20
>=20
--=20
Vincenzo Di Somma - Responsabile Ricerca e Sviluppo - Icube S.r.l.
Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia
E-mail: e.d...@ic... WWW: www.icube.it
Tel: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
|