Hi, I want to use Apply function over generateuuid, so I am taking an

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
  • I think you may be stuck with using an MNI for that particular function. At a guess, I'd say that the behaviour you're seeing is caused by the expression evaluating simultaneously rather than sequentially - so you get all the same uuids.

    What exactly are you using the uuids for? Can you use something other than a uuid in this instance?
Reply
  • I think you may be stuck with using an MNI for that particular function. At a guess, I'd say that the behaviour you're seeing is caused by the expression evaluating simultaneously rather than sequentially - so you get all the same uuids.

    What exactly are you using the uuids for? Can you use something other than a uuid in this instance?
Children
No Data