os...@ne... wrote:
> Hi!
> Is it possible to customize the process_id when I add an Openflow insta=
nce?
> My instances id=B4s are like 1101133057.44 and I don=B4t want the poin=
t,=20
> for example: 110113305744
> Another situation: I want to put date/time based id=B4s...
When you create an instance, its id is set using creator's username and=20
current time:
instance.py
(...)
def __init__(self, process_id, activity_id, customer, title=3D'',\
comments=3D'', priority=3D0):
self.customer =3D customer
self.comments =3D comments
self.id =3D customer + str(DateTime().timeTime())
(...)
You can edit this file to create the ids you want, but be careful=20
because these ids must be unique.
--=20
Mikel Larreategi
mla...@co...
CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
|