#SAIL Hello ! I'm trying some SAIL tutorials, but one

#SAIL

Hello !

I'm trying some SAIL tutorials, but one of them is not working. It's the following:
forum.appian.com/.../SAIL_Recipes

I really need this, since SAIL Forms doesn't have the grid component as we have on Portal Forms.

Trying as a test rule, the following error appears:
"[Lorg.json.JSONObject; cannot be cast to [Lcom.appiancorp.suiteapi.process.TypedVariable;"

And trying as a process model:
"Erro de avaliação de expressão in rule 'multipletextcomponents': Error evaluating function fn!apply :
Expression evaluation error in rule 'ucdynamicfieldeach' (called by rule '27917') at function a!textField:
Invalid index (1) for list: valid range is empty"

I did everything the Recipe said, but unfortunatetly couldn't get it to work. So if someone already tried
it with success, please let me know what am I doing wrong.

Thanks...

OriginalPostID-99840

OriginalPostID-99840

  Discussion posts and replies are publicly visible

Parents
  • Yes, but it's on purpose. As I couldn't get it to work as a rule, I created a process model to test it. And followed the steps of the recipe
    (To write your data to process
    1.Create rule input: guests (Text Array)
    2.Remove the load() function
    3.Delete local variable: local!guests
    4.In your expression, replace: local!guests with ri!guests
    5.In your process model, create variables: guests (Text Array) with no value

    On a start form, create process parameters

    6.In your process model, update your SAIL Form definition with:

    On a start form: =rule!sailRecipe(guests: pv!guests) )
Reply
  • Yes, but it's on purpose. As I couldn't get it to work as a rule, I created a process model to test it. And followed the steps of the recipe
    (To write your data to process
    1.Create rule input: guests (Text Array)
    2.Remove the load() function
    3.Delete local variable: local!guests
    4.In your expression, replace: local!guests with ri!guests
    5.In your process model, create variables: guests (Text Array) with no value

    On a start form, create process parameters

    6.In your process model, update your SAIL Form definition with:

    On a start form: =rule!sailRecipe(guests: pv!guests) )
Children
No Data