WSO2人工任务去完成的状态,但调用BPEL流程仍处于活动状态 [英] WSO2 human task goes to COMPLETED state but calling BPEL process remains in ACTIVE state

查看:277
本文介绍了WSO2人工任务去完成的状态,但调用BPEL流程仍处于活动状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建WSO2人工任务按(在链接中提到的指导方针的 http://docs.wso2.org/display/BPS300/Writing+a+Human+Task+Artifact )。
我从异步BPEL流程调用人工任务,一旦人工任务完成获得与其他BPEL活动和回调客户进一步进行。
我现在面临一个问题,即人的任务去完成的任务状态,但它呼吁人类的任务不是从远程任务的活动,以一个BPEL活动进一步继续,它仍然处于激活状态我的BPEL流程。
请建议需要为做什么,我需要使用该BPEL相关性,如果是的话那我怎么实现人工任务活动的合作关系。

I have created WSO2 human task as per the guidelines mentioned in link (http://docs.wso2.org/display/BPS300/Writing+a+Human+Task+Artifact). I am calling human task from Asynchronous BPEL process, once human task get completed it proceeds further with other BPEL Activities and callback client. I am facing an issue i.e. Human task goes to COMPLETED task state but my BPEL Process which is calling that human task is not proceeding further from REMOTE TASK Activity to next BPEL activity and it remains in ACTIVE state. Please suggest what needs to be done for that, do I need to use BPEL correlation for that, If yes then how do I implement co-relation in human task activity.

推荐答案

没有。你不需要使用BPEL相关的BPEL流程的远程任务。 B4P扩展内部关联BPEL实例和任务实例。对于这个B4P扩展使用在deploy.xml文件中的相关滤波器。

No. you don't need to use BPEL correlation in BPEL process for Remote Task. B4P extension correlates BPEL instance and Task instance internally. For this B4P extension uses a correlation filter in deploy.xml file.

好像上面部分是在文档中失踪。我会更新文档。在此期间,你可以遵循以下的步骤来解决它。

Seems like above part is missing in the documentation. I will update the document. In the meantime can you follow following step to fix it.

1)在文本/ XML编辑器中打开deploy.xml。

1) Open deploy.xml in text/xml editor.

2)假设你的任务的合作伙伴链接 b4pPartnerLink 。然后找到 b4pPartnerLink 合作伙伴链接提供者服务,并添加相关滤波 correlationFilter =b4p:b4pFilter如下

2) Let's say your task's partner link is b4pPartnerLink. Then find provider service for b4pPartnerLink partner link and add correlation filter correlationFilter="b4p:b4pFilter" as follow.

<provide partnerLink="b4pPartnerLink" correlationFilter="b4p:b4pFilter">
    <service name="apprv:ClaimServiceCB" port="ClaimPortCB"/>
</provide>

例如:<一href=\"http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/bps/3.1.0/modules/samples/product/src/main/resources/bpel/2.0/ClaimsApprovalProcess/deploy.xml\" rel=\"nofollow\">http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/bps/3.1.0/modules/samples/product/src/main/resources/bpel/2.0/ClaimsApprovalProcess/deploy.xml

3)然后重新部署BPEL流程。

3) Then Re deploy bpel process.

如果问题仍然存在,可以请你检查回拨服务URL是否是WSDL正确的。

If the problem still exists, can you please check whether Callback service url is correct in the WSDL.

谢谢〜hasitha

Thanks ~ hasitha

这篇关于WSO2人工任务去完成的状态,但调用BPEL流程仍处于活动状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆