简体   繁体   English

无法使用声明 API 创建活动

[英]Cant able to create activity using Claim API

we have custom method in claimapi which will create activity and also add the document in claim.我们在 claimapi 中有自定义方法,它将创建活动并在声明中添加文档。 When we trigger that method we are getting below error message.当我们触发该方法时,我们会收到以下错误消息。 Error message:java.lang.IllegalArgumentException: Cannot re-add Activity:-505001 since it has already been removed.错误消息:java.lang.IllegalArgumentException:无法重新添加活动:-505001,因为它已被删除。 You must use bundle rollback to undo a remove.您必须使用捆绑回滚来撤消删除。 Not sure what is causing the issue.不知道是什么导致了这个问题。

In ClaimAPI method.在 ClaimAPI 方法中。 Ensure you already have a current bundle.确保您已经拥有当前捆绑包。 If it's not available, then create a new bundle and create a new Activity.eti record and add it in the new bundle, then provide all mandatory column information.如果它不可用,则创建一个新包并创建一个新的 Activity.eti 记录并将其添加到新包中,然后提供所有必需的列信息。 You should be able to do it.你应该能够做到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM