Looks like the SubsCreationEmailSender class does not extend from the
WorkflowExecutor class. Can you check on that please?

Thanks,
NuwanD.

On Wed, Apr 29, 2015 at 11:59 PM, Shenavi de Mel <[email protected]> wrote:

> Hi All,
>
> In my attempt to customize  the sign up workflow i referred to a blog post
> [1] and followed a tutorial in the API manager documentation [2] to
> understand the concept better. After following the above mentioned tutorial
> for customizing an existent workflow,
>
> When i tried to create a new application to subscribe to an API it gave
> the following exception (org.wso2.sample.workflow.SubsCreationEmailSender
> is my custom class).
>
> *application-add:jag java.lang.ClassCastException:
> org.wso2.sample.workflow.SubsCreationEmailSender cannot be cast to
> org.wso2.carbon.apimgt.impl.workflow.WorkflowExecutor*
>
> Before customizing the subscription workflow the functionality using
> the SubscriptionCreationWSWorkflowExecutor class worked fine but after
> modifying it as mentioned in [2] i got this error.
>
> I would be extremely grateful if you could help me out with the reason for
> generating this error. And let me know if i have done something wrong while
> i was carrying it out. If There are any other docs or tutorials i could
> follow to extend the sign-up workflow enabling email notifications please
> mention it here as well as it would be of great assistance to carry out
> this task.
>
>
> [1]
> http://nuwanzone.blogspot.com/2014/01/how-to-write-custom-workflow-extension.html
> [2] https://docs.wso2.com/display/AM180/Customizing+a+Workflow+Extension
>
>
> Thanks & Best Regards,
> Shenavi.
>
>
> *Shenavi de Mel*
> Software Engineer
> WSO2 Inc: http://wso2.com
> email: [email protected]
> mobile:+94771244470
>
>


-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to