Set Ticket Info

Tag: SetTicketInfo

Ytria automation can add ticket information to your sapio365 activity logs. 

Tag Attributes

Attributes

Attribute Values

Value Description

TicketNumber

N/A

Integer

TicketDescription

N/A

String

TicketURL

N/A

String

Empty

Can only be TRUE - No Default

Sets no ticket information

Clear

Can only be TRUE - No default

Removes any previously set ticket information

KeepAlive

TRUE (Keeps dialog open) / FALSE - Defaults to FALSE

N/A

Example Script

Store ticket info for current script/job:

XML
<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket"/>

Store empty ticket info for current script/job: 

XML
<SetTicketInfo Empty="True"/>

Remove stored ticket info for current script/job: 

XML
<SetTicketInfo Clear="True"/>

If info already store, do nothing else show dialog: 

XML
<SetTicketInfo/>

Show dialog: 

XML
<SetTicketInfo KeepAlive="true"/>

Show prefilled dialog: 

XML
<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket" KeepAlive="true"/>

SetTicketInfo can also be used in a Save or SaveSelected:

XML
<Save>
	<SetTicketInfo TicketNumber="187" TicketDescription="C'est mon ticket." TicketURL="https://www.ytria.com/mon-ticket"/>
</Save>