Application Discovery Pattern InstallDate format from YYYY-MM-DD to DD-MM-YYYY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 09:19 AM
Hello Team,
I've created a Itunes Application pattern to pull the InstallDate from Itunes Application ; I'm not using a custom field but using the ootb install_date field that is avaiable on the form.
I've managed to get part of it working but my install_date field does not populate with the date on the ci.
My WMI Query is set like this:
And for the Set Parameter Value the settings are set to this:
Any suggestions or any idea how I can get this fully working would be much appriciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 11:43 AM
Hello @piyushgarg ,
You can write Pre sensor script, to modify the format of the date using GlideDate functionality or regex,
Reference: https://www.servicenow.com/community/itom-blog/using-pre-post-processing-scripts-to-handle-reference...
If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.