Functions in workflows, e.g. getting the current date/time

Hello there,

I needed to get the current date/time in an ISC workflow, and I found that I could somewhat use $.now() when using the define variable operator.
I couldn’t find this feature documented here Operators - SailPoint Identity Services , or anywhere in the documentation pages for the workflows ( Creating and Managing Workflows - SailPoint Identity Services )

Could someone please point me to the documentation of $.now() and how this should be used? I was not able to use it in an template, for example something like this {{$.now()}}.

What other functions exist? Where are they documented?

Thank you in advance,
Andrei


LE. 2024-12-20: The post was marked as Solved by Colin McKibben, but I don’t see any documentation being created. And now it is the end of the year. From my point of view this issue is NOT solved.

1 Like

Hi @adamian

Please have a look into this topic getDay in Workflow regarding how to get the current date or day in the workflow.

I don’t think there’s any specific example included in the documentation on how to do this.

Hope this would help.

Thanks

Hi @nhassan, thank you, but this doesn’t bring me forward.

The linked topic is from August 2023, so about 8 months ago. Are there any plans to document such features or should we rely completely on asking in the forum? Is this a stable feature or subject to change without notice? Where are the updates going to be posted, if any? As another topic in the forum?
Unfortunately I seem not to have the time to read and digest all the posts in the forum.

Is there a release process of such features which includes also documenting them?

What other functions exist? How can I search for them to know what is available and what not?

Best regards,
Andrei

Hi @adamian, I agree that you shouldn’t have to read every forum post on workflows, or any ISC feature for that matter, to find out about new functionality.

You can subscribe to the SaaS Updates blog on the Compass Community site to get notifications of new features as soon as they are released.

These announcements generally include links to documentation on the new functionality like this one about Forms for SaaS Workflows.

Addtionally, we have just added the ability to provide feedback on our official product Documentation. If you feel that anything is missing or enhancements are needed, please let us know!

1 Like

Thanks @adamian, you saved me some time here with the variable definition. I also found that trying $.now() or {{$.now()}} did not work in the body of an HTTP Request step.

Agreed this needs to be documented since it’s a thing we need when doing things like setting forwarding users which requires a start time.

1 Like

According to the comments on this docs page, the docs team is going to document $.now() and where it can be used.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.