Pergapedia / SSP7
SMTX SupportSMTX Wiki
  • Introduction
  • Pergapedia / SSP7 Admin guide
  • Catalog
    • Typical use cases
      • Usage as Knowledge Catalog
      • Usage as Data Catalog
      • Usage as Service Catalog
    • Catalog Maintenance
      • Templates
        • Create a new template
        • Version management of templates
        • ACL (Access Control Lists)
          • Scopes
          • Add default ACLs
          • Remove All ACLS
          • ACL condition script examples
        • Set translation label for Publication request button
      • Parts (Fields)
        • Field types
        • Calculations
        • Field Validation examples
        • Field Visibility Examples
        • Field Filtering
        • Default value
      • Actors
      • Reusable content
      • Settings
      • General Settings
      • Roles
      • Javascript for Variables in processes
      • Action Forms
        • Add log entries for Action Forms
    • Service Maintenance
      • Services
        • Filter list of services
        • Duplicating services
        • Adding a new service
        • Service Details
          • General settings
          • Service Data
          • Contracts
          • Actors
          • Receivers
          • Targets
          • Support Groups
          • Relations
          • Requests
          • Quality Notes
          • Publication History
          • Documents
          • Log
          • Service Actions
        • Compare versions
        • Quality Notes
        • Service Changed flag
      • Approvals
      • Relations
        • Start service from service
      • Subscriptions
      • Outages
    • Public
    • Service Catalog API
      • Outbound REST API
        • Get Services
        • Get Service Details
      • Inbound SOAP calls
        • Create custom approval
        • Add log to service publish request
        • Add person to service person list
        • Add persongroup to service persongroup list
        • Delete service
        • Mark service publish request as in approval state
        • Process service publish request
        • Publish request set can be cancelled
        • Publish request set show in public
        • Remove person from service person list
        • Remove persongroup from service persongroup list
        • Remove support group from service
        • Update service field
        • Update service language field
        • Update template part datetime value
        • Update template part numeric value
        • Update template part text value
  • Fulfillment Platform
    • Admin Panel
    • General Settings
      • General
      • My Profile
      • Mail Settings
      • Login
      • Forms Setting
      • Workflow
      • Archive
      • Calendar Overview
      • Dashboard
      • Mobile Component
      • Ticketing
      • Webhooks
      • Goto
      • Search options
      • Application URL Settings
      • Address Book Settings
    • Dashboard
    • Categories
    • Topics
    • Forms
      • Fields-tab
      • Field: General Settings
      • Dynamic Value
      • Text (Area) Field
      • Yes : No Field
      • Upload file(s)
      • Date (Time) Field
      • Password Field
      • Read Only Display Field
      • Header
      • Tab
      • Section
      • Repeatable section buttons
      • Subform
      • Static HTML
      • Hidden Field
      • Selection Fields
      • Calculations
    • Processes
      • General Settings
      • Dynamic Field Mapping
      • Process Steps
      • Step Types
      • Logging
    • Datastore
      • Process interaction
      • Manage datastore entries via Webservices - Javascript
    • Tasks
    • Auto Forms
    • Adapters
      • Person Data
      • Web Services
    • Event triggers
    • Roles
    • Rolesets
    • Groups
    • Views
      • View Example 1
      • View example 2
    • Mail Templates
    • Layouts
    • Mail queue
    • Reporting
    • External Apps
    • My Items
    • Translations
    • Bulk Uploads
    • Help page
    • Goto
    • Search
    • Inbound Email
    • Reporting Dashboard
    • Ticketing
      • My Activities
      • Ticketing Views
      • External Integrations
    • Release Manager
    • Content Management Console module
    • SSP Studio
    • Persons & Accounts
    • Pools
  • Release Notes
    • Terms and Conditions
      • December 2024
    • Release 7.21.01
    • Release 7.21.03
    • Release 7.21.04
    • Release 7.21.05
    • Release 7.21.06
    • Release 7.21.07
    • Release 7.21.08
    • Release 7.21.09
    • Release 7.21.10
    • Release 7.21.11
    • Release 7.21.12
    • Release 7.22.02
    • Release 7.22.03
    • Release 7.22.04
    • Release 7.22.05
    • Release 7.22.06
    • Release 7.22.07
    • Release 7.22.08
    • Release 7.22.09
    • Release 7.22.10
    • Release 7.22.12
    • Release 7.23.01
    • Release 7.23.02
    • Release 7.23.03
    • Release 7.23.04
    • Release 7.23.05
    • Release 7.23.07
    • Release 7.23.08
    • Release 7.23.09
    • Release 7.23.10
    • Release 7.23.11
    • Release 7.23.12
    • Release 7.24.02
    • Release 7.24.03
    • Release 7.24.04
    • Release 7.24.05
    • Release 7.24.06
    • Release 7.24.07
    • Release 7.24.08
    • Release 7.24.09
    • Release 7.24.10
    • Release 7.24.11
    • Release 7.24.12
    • Release 7.25.01
    • Release 7.25.02
    • Release 7.25.03
    • Release 7.25.04
    • Release 7.25.05
  • Guides
    • Installation Guide
      • Scheduled Task installation
    • Upgrade Guide
    • LDAP Import
    • Training
      • Exercise : Create a new form
      • Exercise : Create a new Datastore Parameter
      • Exercise : Create a new Process
      • Exercise : Create a new Role
    • SubTopics in Topics
  • Pergapedia platform
Powered by GitBook
On this page
  • Create custom approval
  • XSL In
  • XSL Out

Was this helpful?

  1. Catalog
  2. Service Catalog API
  3. Inbound SOAP calls

Create custom approval

Create custom approval

POST https://baseurl/ServiceCatalog/Api.asmx

Create a new custom approval from within the workflow. This action is useful to use in case you used an Action to start a workflow and want the service to get blocked for pending approvals.

Query Parameters

Name
Type
Description

SecurityCheck

string

External provider security check

ProviderName

string

External provider Id

ProcessInstanceGuid

string

ProcessInstanceGuid of the ticket processing the approval

ProcessInstanceId

string

Ticket Id processing the approval

Comments

string

Text to show in approval step

ActorPerson

string

Name of the approver

CanBeCancelled

boolean

Approval can be cancelled or not from within the service details page

ServiceGuid

string

Guid of the service

TypeName

string

Type of approval

XSL In

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0' xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://smt-x.com/Services/">
	<xsl:template match='/SSPAdapterCall'>
		<soap:Envelope>
			<soap:Header />
			<soap:Body>
				<ser:AddCustomServicePublishRequest>
					<ser:ServiceGuid><xsl:value-of select="Field[@Name='ServiceGuid']" /></ser:ServiceGuid>
					<ser:TypeName><xsl:value-of select="Field[@Name='TypeName']" /></ser:TypeName>
					<ser:CanBeCancelled><xsl:value-of select="Field[@Name='CanBeCancelled']" /></ser:CanBeCancelled>
					<ser:ActorPerson><xsl:value-of select="Field[@Name='ActorPerson']" /></ser:ActorPerson>
					<ser:Comments><xsl:value-of select="Field[@Name='Comments']" /></ser:Comments>
					<xsl:if test="Field[@Name='ProcessInstanceId'] != ''"><ser:ProcessInstanceId><xsl:value-of select="Field[@Name='ProcessInstanceId']" /></ser:ProcessInstanceId></xsl:if>
					<xsl:if test="Field[@Name='ProcessInstanceGuid'] != ''"><ser:ProcessInstanceGuid><xsl:value-of select="Field[@Name='ProcessInstanceGuid']" /></ser:ProcessInstanceGuid></xsl:if>
					<ser:ProviderName><xsl:value-of select="Field[@Name='ProviderName']" /></ser:ProviderName>
					<ser:SecurityCheck><xsl:value-of select="Field[@Name='SecurityCheck']" /></ser:SecurityCheck>
				</ser:AddCustomServicePublishRequest>
			</soap:Body>
		</soap:Envelope>
	</xsl:template>
</xsl:stylesheet>

XSL Out

<?xml version='1.0' ?>
<xsl:stylesheet 
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"  
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ssp="http://smt-x.com/Services/"
version='1.0'>
	<xsl:template match="/">
		<SSPAdapterResult>
			<xsl:apply-templates select="/soap:Envelope/soap:Body/ssp:AddCustomServicePublishRequestResponse/ssp:AddCustomServicePublishRequestResult"/>
			<xsl:apply-templates select="/soap:Envelope/soap:Body/soap:Fault"/>
		</SSPAdapterResult>
	</xsl:template>
	<xsl:template match="/soap:Envelope/soap:Body/ssp:AddCustomServicePublishRequestResponse/ssp:AddCustomServicePublishRequestResult">
		<Value><xsl:value-of select='.' /></Value>
	</xsl:template>
	<xsl:template match="/soap:Envelope/soap:Body/soap:Fault">
		<Error>code:<xsl:value-of select='soap:faultcode' /><xsl:value-of select='soap:Code/soap:Value' /> - string:<xsl:value-of select='soap:faultstring' /><xsl:value-of select='soap:Reason/soap:Text' /></Error>
	</xsl:template>
</xsl:stylesheet>
PreviousInbound SOAP callsNextAdd log to service publish request

Last updated 3 years ago

Was this helpful?