This looks interesting! I do welcome more configuration options like this on the Web Services and Web Services SaaS connectors preventing us from needing to create custom rules.
I do have some questions and remarks based on this documentation, to see if this can really help us resolve the limitations we thus far experience with the web service connector.
Is it planned for Web Services SaaS to also support this? If so, when could we expect this?
Are if-else statements supported in the body somehow? Either using this expression language (_# tags), or by using “Velocity” (whatever that means) using $$ tags (I don’t understand the documentation here, nor what you can do with it compared to just $ tags, or by just using $ tags. One use case is that update provisioning policy might contain $plan.firstName$ and might contain $plan.lastName$, but the body always expects the value, so we want to first get the current data and then look what needs to be overwritten using something like #if($plan.firstName$)$plan.firstName#{else}$response.firstName$#end
If if-else is not supported for in the body, can we achieve the above use case without having to rely on rules? Perhaps we need to see if we can hack a solution by cleverly using substring, length and replace, but preverably we use something readable and elegant.
The examples used in this documentation suggest to me that this was added without a clear insight on what real world examples it can be used for. For example https://domain.com/2/team/members/list/_#$response.data$.length()_#, /2/team/members/list/_#'hello'.concat('world')_# and /2/team/members/list/_# 5 >= 4_#. Those examples make no sense at all. Won’t _#5 >= 4_# return true? Can you please add clear real world examples for which this can be used?
What is the added benefit of concat? I thought you can already use "displayName": "$plan.firstName$ $plan.lastName$" or something like that, so why use "displayName": "$plan.firstname$.concat(' ').concat($plan.lastname$)" instead?
Suppose I have $plan.endDate$ and the format of this contains date and time (both in variable length) separated by a comma (which only appears here once to separate these two), and I want to only have the bit before the comma. Is there an elegant way to achieve this, or do I need to make a complex combination of the operations to achieve this? Similar question might exist if we need to separate a displayname in the format firstname.lastname
Many operations now supported seem to be boolean operations. That is really useful, but mostly only in combination with if-else operations.
This appears to be a question related to implementation. I need to refer you to our ISC Discussions and Questions category for greater help from the community. If the question leads to a doc update, we will be sure to do so. If this is a feature that is not yet supported, then you are invited to suggest it in the Idea Discussions category.
I can repeat what I said in #2 here.
Thank you for your input. We’ve created a Jira issue to track the effort and we’ll update the comment thread when it’s been addressed: CONDOCS-7660.
Please refer to #2.
Please refer to #2.
This seems to be an addendum to your if-else question, so I need to again refer you to #2.
I do think you are referring me too quickly to the ISC Discussions and Questions category here. SailPoint should have clear documentation on their building blocks, on the elemental functionality supporting by SailPoint. It should be clear which building blocks exists, how it behaves and how it should be implemented.
Only once this is clear, could one go to the ISC Discussions and Questions to discuss on how to combine these building blocks to achieve a specific use case.
If SailPoint documentation is just saying it supports velocity, without specifying what this word/tool/concept means in this concept, perhaps a link to third party documentation, and some elementary examples, then there is no clear documentation on the building blocks and we should go to you, not to the ISC Discussions and Questions page.
Since certain operations are now supported which are generally used in if-else statements. I think it makes sense to ask the documentation team if they forget to add this in the documentation. This is something that the general ISC Discussions and Questions group can’t help with.
When in comes to the Web Services and Web Services SaaS connectors, I think there is much room for improvement. Newer developers should be able to read that documentation and understand the functionality and what its general purpose is.