Skip to main content
Skip table of contents

Set Ticket Info

Tag: SetTicketInfo

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

Tag Attributes

AttributesAttribute ValuesValue Description
TicketNumberN/A

Integer

TicketDescriptionN/AString
TicketURLN/AString
EmptyCan only be TRUE - No DefaultSets no ticket information
ClearCan only be TRUE - No defaultRemoves any previously set ticket information
KeepAliveTRUE (Keeps dialog open) / FALSE - Defaults to FALSEN/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>



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.