on 06-18-2007 3:44 PM
Dear All,
I created a workflow.
The first activity is to create a document.
So I created an activity linking it to the method 'Create' of object 'Document.
I get an error in w/f log saying
Object 'DOCUMENT' method 'Create' cannot be executed
Work item 000000025495: Object DOCUMENT method CREATE cannot be executed
Message no. WL821
Diagnosis
The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.
System Response
The work item was forced into the error status.
Procedure
Refer to your workflow system administrator.
Procedure for System Administration
Also check the binding between the task container and the method container.
Please help me out.
Thanks,nsp
hai,
pls check the business object whether its released or not.
hope its not released.pls change it to release stsus and try again.
regards
rose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the replies.
1. Its is a standard object 'DOCUMENT' and is released.
2. When I test the method of the object in SWO1, giving relevant parameters
I dont get any execption at all.
Has it got to do anything with the task and method binding? How do we check that
Why does it say "method cannot be executed. In fact the method iam trying now is 'CheckInViaFile'
nsp.
Hi,
I meant to say that , execution from SWO1 should have parameters same as while being executing workflow. ( pls check the parameters being passed to this method while executing workflow thro' WF log - workflow container values. )
Check if mandatory parameters are being passed to method.
Regards,
Akshay
ANother option to check:
go to std task in change mode and change the method e.g. clear out the method and again revert to Create , so as to get message e.g. Transferring object elements to task.
Message was edited by:
Akshay Bhagwat
Hi,
Check the workflow log to see what the values are of the container at that particular step.
Now open the workflowbuilder and check which parameters are passed to the task also check the bindings from wf to step and from step to workflow (there should be 2 check buttons).
then check the task to see if maybe additional elements are passed to the method, also check here if the bindings doesn't have errors.
Next goto SWO1 and test the method with exactly the same data which should cause an error.
Kind regards, Rob Dielemans
Hi,
Pls check if there is any exception occuring while executing this method. ( Test it thro' SWO1 with same data as you are trying thro' workflow , so that you will get an idea whetehr any exception is getting triggered)
This exceptoin has to be modelled in worklfow for this step.
Hope this helps.
Regards,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.