Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2791

Human Task Notification UI cropping subject/body input fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 7.8.0.GA
    • None
    • jBPM Designer
    • Hide
      1. Create a process definition
      2. add a Human Task
      3. add a notification for this HT
      4. in the subject add some text with brackets in it
      5. in the body of notification try to add the following content:
        <html>
        	<body>
        		<b>${owners[0].id} you have been assigned to a task (task-id ${taskId})</b><br>
        		You can access it in your task
        		<a href="http://localhost:8080/jbpm-console/app.html#errai_ToolSet_Tasks;Group_Tasks.3">inbox</a><br/>
        		Important technical information that can be of use when working on it<br/>
        		- process instance id - ${processInstanceId}<br/>
        		- work item id - ${workItemId}<br/>
        
        		<hr/>
        
        		Here are some task variables available
        		<ul>
        			<li>ActorId = ${doc['ActorId']}</li>
        			<li>GroupId = ${doc['GroupId']}</li>
        			<li>Comment = ${doc['Comment']}</li>
        		</ul>
        		<hr/>
        		Here are all potential owners for this task
        		<ul>
        		$foreach{orgEntity : owners}
        			<li>Potential owner = ${orgEntity.id}</li>
        		$end{}
        		</ul>
        
        		<i>Regards from jBPM team</i>
        	</body>
        </html>
        
      6. save and close
      7. save your process definition
      8. open the process again an look the content for the HT notification
      Show
      Create a process definition add a Human Task add a notification for this HT in the subject add some text with brackets in it in the body of notification try to add the following content: <html> <body> <b> ${owners[0].id} you have been assigned to a task (task-id ${taskId}) </b> <br> You can access it in your task <a href= "http://localhost:8080/jbpm-console/app.html#errai_ToolSet_Tasks;Group_Tasks.3" > inbox </a> <br/> Important technical information that can be of use when working on it <br/> - process instance id - ${processInstanceId} <br/> - work item id - ${workItemId} <br/> <hr/> Here are some task variables available <ul> <li> ActorId = ${doc[ 'ActorId' ]} </li> <li> GroupId = ${doc[ 'GroupId' ]} </li> <li> Comment = ${doc[ 'Comment' ]} </li> </ul> <hr/> Here are all potential owners for this task <ul> $foreach{orgEntity : owners} <li> Potential owner = ${orgEntity.id} </li> $end{} </ul> <i> Regards from jBPM team </i> </body> </html> save and close save your process definition open the process again an look the content for the HT notification
    • 2020 Week 16-18 (from Apr 13)

      When configuring/adding a Notification for a Human Task the UI crops the content of body input field. It seems the UI has a limit for the input field.

      If you try to use this content for example (from the jBPM docs):

      <html>
      	<body>
      		<b>${owners[0].id} you have been assigned to a task (task-id ${taskId})</b><br>
      		You can access it in your task
      		<a href="http://localhost:8080/jbpm-console/app.html#errai_ToolSet_Tasks;Group_Tasks.3">inbox</a><br/>
      		Important technical information that can be of use when working on it<br/>
      		- process instance id - ${processInstanceId}<br/>
      		- work item id - ${workItemId}<br/>
      
      		<hr/>
      
      		Here are some task variables available
      		<ul>
      			<li>ActorId = ${doc['ActorId']}</li>
      			<li>GroupId = ${doc['GroupId']}</li>
      			<li>Comment = ${doc['Comment']}</li>
      		</ul>
      		<hr/>
      		Here are all potential owners for this task
      		<ul>
      		$foreach{orgEntity : owners}
      			<li>Potential owner = ${orgEntity.id}</li>
      		$end{}
      		</ul>
      
      		<i>Regards from jBPM team</i>
      	</body>
      </html>
      

      it will crop the content...

              kgaevski@redhat.com Kirill Gaevskii
              rafael.soares Rafael Soares
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: