custom process step


hi

 

i'm trying create proces flow uses custom process step , i'm facing problems:

 

"only type can imported. org.apache.felix.scr.annotations.component resolves package storefile.java /ws08-idatest_4502_00cc1fe5-0060-4282-9490-85140078d3f5/webcontent/apps/idamf/src/store/s rc/main/java/com/idamf/io/store line 4"

or

component cannot resolved type storefile.java /ws08-idatest_4502_00cc1fe5-0060-4282-9490-85140078d3f5/webcontent/apps/idamf/src/store/s rc/main/java/com/idamf/io/store line 25" "

 

 

  • when implement wotkflowprocess, cannot seem code work in 'process step' step in workflow. class created, not show in list of selectable processes. when implement javaprocessext, show in list.

 

 

  • when create dialog custom process step, not able edit in workflow. not able set arguments process step

 

 

 

my workflowprocess implementation in storefile.java, simple code outputting lines log.

 

/**
*
* @author
*

@component
@service
@properties({
    @property(name=constants.service_description, value="a sample process step try , store file file system"),
    @property(name=constants.service_vendor, value="idamf"),
    @property(name="process.label", value="store file")
})

*/


public class storefile implements workflowprocess {

  protected final logger log = loggerfactory.getlogger(storefile.class);

   
    public void execute(workitem arg0, workflowsession arg1, metadatamap arg2)
            throws workflowexception {
        // todo auto-generated method stub
     log.info("************** executing store file ********************");
    }
}

 

 

anybody have idea goes wrong?

 

 

thanks&regards

 

please make sure .bnd file have 2 line[1].  after right click on .bnd file , click "build bundle" under "tool" option.now, should not error while building bundle custom workflow step using sample code.

 

[1]

import-package: *
private-package: *



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support