Input parameters for ServiceTask

cancel
Showing results for 
Search instead for 
Did you mean: 
tdtappe
Active Member II

Input parameters for ServiceTask

Jump to solution

I would like to call the execute method of a Java class via ServiceTask. That works just fine. But how can I pass some input parameters to the execution? I can access the execution variables - no problem. But my input parameters are not available as variables. I thought I could use an InputParameter for this. That would be great. But how can I access the input parameters oin the execute method?

--Heiko

1 Solution

Accepted Solutions
EddieMay
Alfresco Employee

Re: Input parameters for ServiceTask

Jump to solution

Hi,

Is there something of interest here -> https://hub.alfresco.com/t5/alfresco-process-services/activiti-enterprise-developer-series-service-t... ? 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

View solution in original post

3 Replies
EddieMay
Alfresco Employee

Re: Input parameters for ServiceTask

Jump to solution

Hi,

Is there something of interest here -> https://hub.alfresco.com/t5/alfresco-process-services/activiti-enterprise-developer-series-service-t... ? 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
tdtappe
Active Member II

Re: Input parameters for ServiceTask

Jump to solution

Yeah - great - you saved my life :-)

Field injection is your friend!

Thanks a lot!

EddieMay
Alfresco Employee

Re: Input parameters for ServiceTask

Jump to solution

Hi @tdtappe,

You're welcome - just glad I could help & that you've got a fix.

Thanks also for accepting it as a solution - super helpful for others with a similar problem.

 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!