Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
i tried but i did not get exact output, any one try this ..
a!localVariables( local!expression: "x+y-x*y", local!result: a!forEach( items: enumerate(len(local!expression)) + 1, expression: local!expression[fv!index] ), local!arryIndex: { x: wherecontains(touniformstring({ "x" }), local!result), y: wherecontains(touniformstring({ "y" }), local!result), }, local!etdata: a!update( data: local!result, index: { local!arryIndex.x, local!arryIndex.y }, value: { 10, 20 } ),local!etdata)
Discussion posts and replies are publicly visible
So I will place myself at the third place asking for the purpose of this.
that expression , we have implement mathematical operations
OK, but why?
if you are doing Mathematical operations then why not you are using localvariable to do that.?
you can use rule inputs also, just i mentioned local variables understanding purpose
It will use BODMAS rule.
a!localVariables( local!x: 10, local!y: 5, local!x + local!y - local!x * local!y )