Hi ,
I have created an interface using rich text field components to display text as mentioned below.
Task Details
1. attribute1: Text1
2. attribute2: Text2
3. attribute3: Text3
4. attribute4: Text4
Now the requirement is to generate this text as it is displaying in the interface using expression rule (for sending to another system using rule input). Is there any way or function in Appian to create listed text item like above mentioned using expression rule.
Any suggestions would be really appreciated.
Thanks in advance.
Pradeep.
Discussion posts and replies are publicly visible
What do you mean with "for sending to another system using rule input"?
And that text formatting depends on what format the other system expects.
I have to send this text
as an input(parameter) to another system. Its kind of description text i need to get using expression rules in listed text format similar to what we get in interface using rich text field component.
OK. But what does all of this mean? Is it about the bold text format, about the numbered list?
Try to explain this like to a 5 year old!
https://stackoverflow.com/help/how-to-ask
codeblog.jonskeet.uk/.../
Technically you should send the data with a proper structure (1-n relationship) and let the other system worry about the rendering in their frontend. If you don't/can't do that, you could try generating some HTML to send to them. They should be able to display that without having to do anything.
Thanks Mathieu Drouin for the reply.
@stefan Helzle
we have generated a string text {attribute1: Text1; attribute2: Text2; attribute; Text3; attribute4: Text4}.In the interface using rich text field list item i have listed the text as mentioned above in the question. But i need to generate the same text in list items format using expression rule. So, for that i asked is there any function/way for listing text items in expression rule.
I have completed the requirement using split and for-each function, for which i had asked for suggestion yesterday.
Sorry, maybe I have a bad day, but I still do not understand what you want to achieve ... can you help me with this?
@stefan Helzle No issues i have completed the requirement.
string text {attribute1: Text1; attribute2: Text2; attribute; Text3; attribute4: Text4}
needs to give output like this below in expression rule