Skip to main content
Level 2
Mar 27, 2024 1:21 PM UTC

Custom Workflow step is not visible in dropdown

I have created custom workflow process step but  I dont see that custom workflow step in dropdown in workflow model page.

 

my workflow class is as follows

 

@Component(
immediate = true,
service = WorkflowProcess.class,
property = {
"process.label=org: Reduce Image Resolution"
}
)
public class ReduceImageResolutionProcess implements WorkflowProcess {

 

I have similar another workflow step which is visible in dropdown. what could be the problem?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

sravs
Community Advisor
Community Advisor
Mar 27, 2024 2:49 PM UTC

Hi @pawanpatilrocks , check your import statements whether they are from 

com.adobe.granite.workflow

or not. 

Translate
Level 2
Mar 27, 2024 2:53 PM UTC

yes they are

 

import com.adobe.granite.workflow.WorkflowException;
import com.adobe.granite.workflow.WorkflowSession;
import com.adobe.granite.workflow.exec.WorkItem;
import com.adobe.granite.workflow.exec.WorkflowProcess;
import com.adobe.granite.workflow.metadata.MetaDataMap;
Translate
sravs
Community Advisor
Community Advisor
Mar 27, 2024 3:05 PM UTC

@pawanpatilrocks , can you please share your custom process step code here.

Translate