[midPoint] Unable to resolve class ItemApprovalProcessStateType
Oleksandr Nekriach
o.nekriach at dynatech.lv
Wed May 13 09:06:50 CEST 2020
Hi Pavel,
Thank you for the information.
I have found that ItemApprovalProcessStateType (how to say it better) has
been replaced by ApprovalContextType
Is it ok to modify my code this way? It looks like it works
*Original code*
ItemApprovalProcessStateType approvalProcessState =
event.getItemApprovalProcessState();
listApprovalStages = approvalProcessState.getApprovalSchema().getStage();
*Proposed solution*
ApprovalContextType
approvalContext=event.getApprovalContext();ApprovalContextUtil
appConUtil=new ApprovalContextUtil();
listApprovalStages = appConUtil.getApprovalSchema(approvalContext).getStage();
Best regards,
Oleksandr
On Tue, 12 May 2020 at 21:13, Pavol Mederly <mederly at evolveum.com> wrote:
> Hello Oleksandr,
>
> this class is gone, along with many others related to handling Activiti
> processes and work items.
>
> See https://evolveum.com/workflowless/ for an explanation.
>
> All you need to know about the state of approval process can be found in
> the respective CaseType object.
>
> Best regards,
>
> Pavol Mederly
> Software developer
> evolveum.com
>
> On 12/05/2020 16:42, Oleksandr Nekriach wrote:
> > Hi guys,
> > Short question.
> > Who knows where has the ItemApprovalProcessStateType class been moved
> or replace by what class in 4.0?
> > In 3.9 version this class was in
> com.evolveum.midpoint.xml.ns._public.common.common_3 package
> >
> https://evolveum.com/downloads/midpoint/3.9/schema-3.9-schemadoc/http---midpoint-evolveum-com-xml-ns-public-common-common-3/type/ItemApprovalProcessStateType.html
> >
> > Compilation error in (new) notification recipient: startup failed:
> > (new) notification recipient: 12: unable to resolve class
> ItemApprovalProcessStateType
> >
> > Best regards,
> > Oleksandr
> > _______________________________________________
> > midPoint mailing list
> > midPoint at lists.evolveum.com
> > https://lists.evolveum.com/mailman/listinfo/midpoint
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
>
--
Best regards,
Oleksandr Nekriach | Identity and access management engineer
Dynatech, Jeruzalemes iela 1, Rīga, LV-1010, Latvia
<https://www.google.com/maps/place/DYNATECH/@56.9575205,24.1107235,17z/data=!3m1!4b1!4m5!3m4!1s0x46eecf5753e42351:0x23b120b9745cae62!8m2!3d56.9575205!4d24.1129122>
+37125314685 <+371%2025%20314%20685>
,
o.nekriach at dynatech.lv
|
www.dynatech.lv
Stay connected:
<https://www.facebook.com/DynatechLatvia/?ref=br_rs>
<https://www.linkedin.com/company-beta/17893047/>
Confidentiality Notice: This message contains confidential information and
is intended only for the named recipient(s). If you are not the addressee
you may not copy, distribute or perform any other activities with this
information. If you have received this transmission in error, please notify
us by e-mail immediately. E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200513/d6fa604b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7771
Type: image/png
Size: 790 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200513/d6fa604b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7770
Type: image/png
Size: 4265 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200513/d6fa604b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.nekriach at dynatech.lv1520941785292-7772
Type: image/png
Size: 786 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200513/d6fa604b/attachment-0002.png>
More information about the midPoint
mailing list