<%@ include file="/portal/include/include_java.jsp" %> <%@ page import="com.appiancorp.process.analytics2.util.ProcessAnalyticsUtil"%> <%@ page import="com.appiancorp.suiteapi.process.ActivityClassParameter"%> <%@ page import="com.appiancorp.asi.components.display.Token"%> <%@ page import="com.appiancorp.asi.components.display.TokenDisplay"%> <%@ page import="com.appiancorp.suiteapi.type.TypedValue"%> <%@ page import="com.appiancorp.type.AppianTypeLong"%> <%@ page import="com.appiancorp.process.design.documentation.beans.NodeDoc"%> <%@ page import="com.appiancorp.process.design.nodes.CallIntegrationNodeHelper"%> <%@ page import="com.appiancorp.security.util.StringSecurityUtils"%> <%@ page import="com.appiancorp.record.WriteRecordWithEventsAcpUtil"%> <%@ page import="com.appiancorp.process.design.documentation.beans.NodeDoc"%> <%@ page import="com.appiancorp.common.strings.AppianStringUtil"%> <%=WriteRecordWithEventsAcpUtil.EVENT_ATTRIBUTES_FIELD_UUID_MAP %> <%-- Calling localeString directly opens us up to javascript injection attacks. Setting localeStrings --%> <%-- as variables will correctly escape html tags --%>

()
   
   
   
   
   
   
   




 



*
 

 

    
    
    
;
    
    

<%-- If the current node has no inputs OR the current node is a Call Integration node where the current user has no rights to the integration --%> <% ActivityClassParameter acp = (ActivityClassParameter)pageContext.getAttribute("acp"); NodeDoc nodeDoc = (NodeDoc)pageContext.getAttribute("nodeDoc"); %>
<% String acpName = acp.getName(); if (WriteRecordWithEventsAcpUtil.useWriteRecordsWithEventsUI(nodeDoc)) { String eventAttributeFieldName = WriteRecordWithEventsAcpUtil.extractFieldNameFromEventAttributeName(acpName); pageContext.setAttribute("acpName", eventAttributeFieldName != null ? AppianStringUtil.getTitleCaseString(eventAttributeFieldName) : acpName); } else { pageContext.setAttribute("acpName", acpName); } %> <% Token typeNameToken = new Token(); typeNameToken.setName("type_name"); typeNameToken.setValue("type"); String typeNameString = TokenDisplay.getTokenContents(request, response, acp, new Token[] {typeNameToken}, null, false).toString(); pageContext.setAttribute("displayString", typeNameString); %> <% Token t = new Token(); t.setValue("value"); String displayString = null; if (acp.getType().equals((long)AppianTypeLong.OUTBOUND_INTEGRATION)) { displayString = StringSecurityUtils.encodeHtml(nodeDoc.getIntegrationName()); } else if (acp.getExpression() != null && acp.getExpression().length() > 0) { displayString = StringSecurityUtils.encodeHtml(acp.getExpression()); } else { displayString = ProcessAnalyticsUtil.processVarsToString(acp, t, acp.getType().intValue(),false, request,response).toString(); } pageContext.setAttribute("displayString", displayString); %>

<%-- If the current node has no outputs OR the current node is a Call Integration node where the current user has no rights to the integration --%>

<%/* Message Listener */%>  
<%/* Timer */%> <%/* Rule */%>