cancel
Showing results for 
Search instead for 
Did you mean: 

Data Binding "Changed On" Date in ticket summary form (ALD)

DAcker
Contributor
0 Kudos

Hi community,

I cannot find the data binding name for the "Changed On" Date of the ticket. I want to use this date in the ticket summary form in Adobe Lifecycle Designer.

I just see the CreationDate binding: "$.ServiceRequest.CreationDateTime"...

What's the data binding name/path for the Changed On Date?

Can anyone help please?

Thanks so much!

BR, Deborah

Accepted Solutions (1)

Accepted Solutions (1)

DAcker
Contributor
0 Kudos

I now "just" found the "LastChangeDateTime" in the data binding (XML schema) of servicerequests in certain fields like:

  • $.ServiceRequest.TextCollection.Text[*].SystemAdministrativeData.LastChangeDateTime --> for the LastChangeDate of the description (Overview tab)
  • $.ServiceRequest.FormattedText.Text[*].SystemAdministrativeData.LastChangeDateTime --> think the same (LastChangeDate of the description in the overview tab)
  • $.ServiceRequest.Item[*].ItemTextCollection.Text[*].SystemAdministrativeData.LastChangeDateTime --> LastChangeDate of the text in the Ticket (Positions tab)
  • $.ServiceRequest.AttachmentFolder.Document[*].SystemAdministrativeData.LastChangeDateTime --> LastChange Date for the Attachments
  • $.ServiceRequest.SolutionProposal[*].CustomerProblemAndSolutionSystemAdministrativeData.LastChangeDateTime --> LastChangeDate for Solution Proposal
  • $.ServiceRequest.Interactions[*].InteractionTextCollection.Text[*].SystemAdministrativeData.LastChangeDateTime --> LastChangeDate of Interactions

I haven't found the general "LastChangeDate" of the whole ticket yet...

But this field does exists in the payload for ERP integration (see screenshot below).

DAcker
Contributor
0 Kudos

To print the "general" Last Changed Date in the ticket summary form I have now found a workaround. I created a custom field, that is a copy of the LastChangedDateTime. That custom field do I use in the form and with the script editor I've done some changes in the format.

mandeep_shrestha1
Participant
0 Kudos

Hi deborah.albrecht2,

Could you please suggest how you have achieved to fetch the last changed date time for the ticket? It would be great if you could share the script too.

DAcker
Contributor
0 Kudos

Hi Rohit,
here the script:

For the lastchanged timestamp I did create a KUT field, that contains the copy of the Standard last Changed field. Then I reformated it (DD.MM.YYYY).

Currently, I just put it the current date in this field...

const heute = new Date();
var year = heute.getFullYear();
var month = heute.getMonth()+1;
var day = heute.getDate();
var newdatestring = day + "." + month + "." + year;
Date.rawValue = newdatestring;
Hope this helps!
BR, Deborah

Answers (0)