Last post Nov 13, 2009 11:29 AM by reza141414
Nov 11, 2009 01:20 AMemail@example.com|LINK
I have a work flow
I am able to store is instance id (the giud ) value and its state in the instanceState table fine.
How can I give some custom value for ‘info’ field of instanceState table ?
Or can I use any other field in the table for storing some custom value.
Nov 11, 2009 07:44 AM|reza141414|LINK
plz send me your code to know how u want to do what u said...
Nov 11, 2009 09:30 AMfirstname.lastname@example.org|LINK
Nov 12, 2009 01:26 AM|reza141414|LINK
what do u mean custom value? can u tell me some example...
if i understand !i thimk u can use binary data type and u can use other field(Named
dataType) to store the data type...
this field will help u to know how to store and restore the data from db...
Nov 12, 2009 03:10 AMemail@example.com|LINK
Cutome data means antything.
let it be "MYNANE"
only people knowing wwf and the importance of InstanceState table need to replay for this
Nov 13, 2009 11:29 AM|reza141414|LINK
ok... u need to have 3 colum in your table:
1.name: info; datatype: image ==> it's for storing any data u want... the data should store as file...
2.name:MIME; datatype:varchar(100)==> it's for storing MIME datatype of file...for example if u store pdf file the MIME type will be
application/pdf and if u store doc file the MIME will be application/msword... see this link for more MIME datatype
3.name:Extention datatype: varchar(100) ==>it 's for storing the extention like: pdf,doc,docx,jpeg....
now u need to know how u can store the file in your db and how u can get the specified data from db and user can download it..
do know how u can do them...