cancel
Showing results for 
Search instead for 
Did you mean: 

Input parameters for ServiceTask

tdtappe
Confirmed Champ
Confirmed Champ

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 ACCEPTED ANSWER

EddieMay
World-Class Innovator
World-Class Innovator

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 answer in original post

3 REPLIES 3

EddieMay
World-Class Innovator
World-Class Innovator

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!

Yeah - great - you saved my life 🙂

Field injection is your friend!

Thanks a lot!

EddieMay
World-Class Innovator
World-Class Innovator

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!