i just created a simple workflow that should create a report.
I set a start and end activity and a taskscript that executes the following code:
newReport = cmdb.createReport("Test").download();
if i try to start the workflow following error occures:
Error: org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Error in method invocation: Method createReport( java.lang.String ) not found in class'org.cmdbuild.workflow.api.WorkflowApi'
sorry, problem solved, i forgot one parameter while calling the function
Previously Nick wrote:
Hello,
i just created a simple workflow that should create a report.
I set a start and end activity and a taskscript that executes the following code:
newReport = cmdb.createReport("Test").download();
if i try to start the workflow following error occures:
Error: org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Error in method invocation: Method createReport( java.lang.String ) not found in class'org.cmdbuild.workflow.api.WorkflowApi'