I came accross a behaviour where an appian object(integration) accessed by two different users having parameters data type in two different format
Eg: user1 gets the data type format as "mm/dd/yyyy" and user2 gets the data type as "dd/mm/yyyy". Though their internationalisation settings are same and both users are accessing same object . What else could be the scenario for such behaviour?
Above are images from two different users using the same objects.
Discussion posts and replies are publicly visible
This is just how these values are displayed. It will not have any effect on the evaluation of these integrations.
Checked the security aspect as well so the analysis came down to this as of now
How do you configure the HTTP body? Can you share that code snippet?
Its a get method where a ruleinput (currentDate) of data type 'date' is passed in the query parameters .Its calling a webAPI which is an expression rule in another appian environment. Sorry could not add the snippet.
So, when you do some sort of tostring() on a date, it will be evaluated in the context of the user, including the locale. If you pass that date to the API, you might want to use the text() function to guarantee a uniform format.
let me give it a try thanks for the help !