Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
7 subscribers
Views
2431 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
#SAIL Hello ! I'm trying some SAIL tutorials, but one
michelb
over 11 years ago
#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
0
michelb
over 11 years ago
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) )
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
michelb
over 11 years ago
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) )
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data