How can we show output as given below in appian using expression rule?
output:
1
22
333
4444
55555
Discussion posts and replies are publicly visible
We don't need to loop here:
Number:
rept(enumerate(5)+1, enumerate(5) + 1)
Alphabets:
a!localVariables( local!data: { "A", "B", "C", "D", "E" }, rept( index(local!data, enumerate(5) + 1, null), enumerate(5) + 1 ) )
Thanks for ur response Abhishek,
but i'm getting o/p as
&
but i need to get o/p as
* * * * * * * * * * * * * * *
Those were the answers for the initial question:
For star pyramid:<I have used 2 loops, although i believe it can be reduced to one>
a!localVariables( local!input: 5, local!rows: where(mod(enumerate(5) + 1, 2)), local!star: a!forEach( items: local!rows, expression: concat(repeat(fv!item, "*")) ), local!space: reverse(enumerate(length(local!star))), a!forEach( items: local!space, expression: concat(rept("-", fv!item), local!star[fv!index]) ) )
oh ok Abhishek...thank you
can anyone Explain for difference between Process initiator and Process designer
The process initiator is the person who has started the process model and the process designer is the person who has last published the process model.
https://docs.appian.com/suite/help/20.4/process-model-object.html#actor-properties
Thanks Ujjwal