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
22 replies
Subscribers
8 subscribers
Views
7186 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I want to use Apply function over generateuuid, so I am taking an
rishub356
over 9 years ago
Hi,
I want to use Apply function over generateuuid, so I am taking an expression like given below:
=apply(fn!generateuuid, {ri!test})
here ri!test is a text array. But when I am running this rule, I am getting the below error:
Expression evaluation error at function 'apply': com.appiancorp.suiteapi.common.exceptions.AppianException: Unexpected number of parameters. (APNX-1-4158-001)
Can anyone guide us how can I do it. I don't want to use MNI.
Thanks
Rishu
OriginalPostID-194546
OriginalPostID-194546
Discussion posts and replies are publicly visible
Parents
0
Chris
over 9 years ago
To expand on the DB approach, you can also make use of the execute stored procedure plugin function to generate UUIDs directly in SAIL forms or script tasks, node outputs, etc. Example code attached (MSSQL). For performance, this method only takes 20 milliseconds to generate 500 UUIDs in our environment.
INF_generateUuid.SAIL
INF_generateUuid.SAIL
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 9 years ago
To expand on the DB approach, you can also make use of the execute stored procedure plugin function to generate UUIDs directly in SAIL forms or script tasks, node outputs, etc. Example code attached (MSSQL). For performance, this method only takes 20 milliseconds to generate 500 UUIDs in our environment.
INF_generateUuid.SAIL
INF_generateUuid.SAIL
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data