Hi all,
I have created custom action class in workflow, there already existing classes are in the packages, I created my VideoAction class there, I always get
ERROR main [RepositorySCXMLRegistry.refresh:154] Invalid SCXML at /hippo:configuration/hippo:modules/scxm
lregistry/hippo:moduleconfig/hipposcxml:definitions/documentworkflow
org.onehippo.repository.scxml.SCXMLException: Failed to find the custom action class: org.onehippo.repository.scxml.VideoAction
when I start my app and also when I debug my app I am able to see debug option in all classes except VideoAction.
My custom action class:
**public class VideoAction extends AbstractAction {
private static final long serialVersionUID = 1L;
public void setActionexpr(final String actionexpr) {
setParameter("actionexpr", actionexpr);
}
public String getActionexpr() {
return getParameter("actionexpr");
}
@Override
protected void doExecute(final ActionExecutionContext exctx) throws ModelException, SCXMLExpressionException,
WorkflowException, RepositoryException {}}**
and it’s related changes in scxml file
<hippo:action action=“video” />
– — – **
– –
** <hippo:video actionexpr=“video” />
** **
Above is just dummy implementation for understanding.
I need your’s help to fix this issue.