Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflows : Multiline Container Element problem.

Former Member
0 Kudos
622

Hi,

I got a new problem. Well I got a requirement to collect <b>COMMENTS</b> from <i>MULTI-LEVEL Supervisors</i> and display them in the <i>work item preview</i>. So in these regards, I had declared a Multiline Container element in my Workflow and passed it to some method to get the comments. Well I had succeeded till this point. But there is a problem when I tried to display them in WORKITEM.

Well, all the lines are getting displayed continously in the Work Item preview.

Is there any solution for this ?

Like I want to display the Multiline Container element line wise. Not as a concatenated single line which is happening right now.

In the Work Item Text part I used it as ...

Comments from Supervisor : &COMMENTS&

This is FYI...

Please help me.

Regards,

Raja Sekhar.

5 REPLIES 5

Former Member
0 Kudos
145

Hello,

When you insert a multine container element in a workitem text you will get a popup with 3 radiobullets how the element must be displayed. I do not know them by head, but 1 of them is that you can display all lines of the element.

The element will look like &ELEMENT[]& in the workitem text.

Is this where you looking for?

Message was edited by: Peter van Alphen

Vinod_Chandran
Active Contributor
0 Kudos
145

Hi Raja,

Implement carriage return at the end of each line.

Thanks

Vinod

0 Kudos
145

Thanks pple,

I found it by myself.

Anyhow's Thanks once again.

Regards,

Raja Sekhar

0 Kudos
145

Hi Raja,

Great!!

Can u share the solution with us.

Thanks

Vinod

0 Kudos
145

Hi Vinod,

Well, I tried including the MULTI LINE Element in a Mail step. It gave me all the three options of printing.

First one is...

Only first line of Container element can be printed using

&COMMENT&

Second one is...

All the lines of Container element can be printed in a single line as &COMMENT[]&

Third one is...

All the lines of Container element can be printed in seperate lines as &COMMENT##&

I used the third one. It worked even the same in Work Item also.

Regards,

Raja Sekhar