custom workflow build build error | Community
Skip to main content
manikanthar1295
Level 5
May 6, 2021 9:20 AM UTC
Solved

custom workflow build build error

Hi Team,

i have written custom workflow and started building the code.

but while building cod i am getting error like below

 

Class com.btr.bck.workflow.core.wfprocess.customWorkFlow is not assignable to specified service com.adobe.granite.workflow.exec.Workflow
[ERROR] Error(s) found in bundle configuration

 

Any suggestion to solve this

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MarkusBullaAdobe
MarkusBullaAdobeAccepted solution
Employee
May 6, 2021 9:34 AM UTC

Hi @manikanthar1295!

Could you please share the source code of your custom workflow?
Without that it's quite hard to give advice.

 

A first shot into the dark:

  • Does your workflow step class have an according @Component annotation?
  • What service class is the component assigned to (e. g. service = WorkflowProcess.class)?
  • Does your workflow step class implement that assigned class (e. g. public class MyWorkflowStep implements WorkflowProcess)?
  • Are you importing the correct assigned class (e. g. import com.adobe.granite.workflow.exec.WorkflowProcess)?

2 replies

MarkusBullaAdobe
MarkusBullaAdobeAccepted solution
Employee
May 6, 2021 9:34 AM UTC

Hi @manikanthar1295!

Could you please share the source code of your custom workflow?
Without that it's quite hard to give advice.

 

A first shot into the dark:

  • Does your workflow step class have an according @Component annotation?
  • What service class is the component assigned to (e. g. service = WorkflowProcess.class)?
  • Does your workflow step class implement that assigned class (e. g. public class MyWorkflowStep implements WorkflowProcess)?
  • Are you importing the correct assigned class (e. g. import com.adobe.granite.workflow.exec.WorkflowProcess)?
Translate
manikanthar1295
Level 5
May 6, 2021 9:49 AM UTC

Hi markus_bulla_adobe,

 

Thanks for your quick response.

 

I found root cause for the issue 

 instead of service = WorkflowProcess.class I have user service Workflow.class.

I have corrected now its building

Translate