I have got something wrong with the example code to create new workflow. In the code example in the document i see something like:
@Override
public ProcessContext execute(ProcessContext context) throws Exception {
CheckoutSeed seed = ((CheckoutContext) context).getSeedData();
.............
}
But when i try to create workflow it doesn't appear. The getSeedData() method is not visible in ProcessContext class. Is there something wrong here? I am wrong or miss something to make that method appear? Or in the worst thing is the code incorrect?
Can someone suggest me some things?
Thanks in advance and sorry for my bad English if there is anything wrong here!