This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot save custom defined Approval procedures

Hi all,

I'm trying to implement a custom defined Approval procedure with a custom query to insert into my approval workflow but when I try to save it it gave me error: 

[810077] PWODecisionRule: The following fields are compulsory and need to be filled: Approval procedure.

But there is no field to insert the name of the Approval procedure i just created.

How can I do that?

In attachment a screenshot from the manager

Thanks

  • Hi,

    It could be that the condition is not valid ...... usually you have to reference the PWO ..... here is an example:

    select uid_personhead as UID_Person,

                null as UID_PWORulerOrigin

          from Person

                where uid_person=(

                      select CustomProperty02

                      from PersonWantsOrg

                      where UID_PersonWantsOrg=@UID_PersonWantsOrg

                )

    UNION ALL

    select uid_personhead as UID_Person,

                null as UID_PWORulerOrigin

          from Person

                where uid_person=(

                      select CustomProperty01

                      from PersonWantsOrg

                      where UID_PersonWantsOrg=@UID_PersonWantsOrg

                )

    In V7 the 'null as UID_PWORulerOrigin' is required.

    HTH, Barry.

  • The query was an example.

    I discover that I need to create a new row in PWODecisionRule from Objectbrowser giving a Decision rule name (2 characters) and a description and save it.

    Then go back into manager and I can add the query to the just created custom approval procedures.

    I think this is a bug

  • Hi,

    I just tested this ...... in Manager click the + icon under approval procedures - set a value for your approval procedure and Save.

    Select your new approval procedure and click Tasks > Change queries for approver selection.

    Click Add and enter Approver selection and Query ..... Save.

    All worked fine .... no need for Object Browser.

    HTH, Barry.

  • In Manager I don't have the field to insert the name of the approval procedure.

    In attachment a screenshot after press + button on approval procedures

  • Hi,

    Very odd ..... what version are you running?

    I am on 7.0.1.

    Thanks.

  • Hi Mik.Pol,

    The name of an Approval Procedure may only be 2 characters long and must be unique.

    The error message iswrong though...

    Regards,

    Leen.Boers