Skip to main content
October 25, 2021
Question

Wrong expression rule in online course advanced expressions 1 lesson 3 exercise.

  • October 25, 2021
  • 2 replies
  • 0 views

Hi community,

Don't know where to report this, so used the forum.
In the exercise there is a variable declared like:

local!purchaseOrder: rule!VOF_GetPurchaseOrderLineItemsByEntityId(),
Instead of  rule!VOF_GetPurchaseOrderLineItemsRecordByEntityId().

Both in the excise and in the answer.

VOF_AdvExpP1_L3_ExA_Answer

This results in this error:

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error in rule 'vof_orderlineitemgridview' at function a!textField [line 6]: Could not cast from List of Variant to VOF Order With Line Item. Details: CastInvalidCould not cast from List of Variant to VOF Order With Line Item. Details: CastInvalid.

Kind Regards,

Erik

    2 replies

    January 3, 2022

    Faced same issue in my recently created Community Edition Site. Not a big deal, but would be good to fix it. 

    vinayp0002
    January 4, 2022

    That might be a typo error. You can write the same at Appian Technical Support