The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Krishna
4 years agoValued Contributor
RESTAPI from HCM Cloud
Hi - I have created a routine in Connector Rule to fetch the Worker data from HCM and I was able to assign it to a variables and able to print it successfully.
My question is below
1. Ho...
Krishna
4 years agoValued Contributor
ClientFilterRequest - Are you referring to pass query parameters to the API ?
Thanks
ckattookaran
4 years agoValued Contributor
Yup, that is part of ConnectorArgs. However, there is no way to pass it though. It is there but can't use (or I'm not sure how to use it)
- Krishna4 years agoValued Contributor
In my function I used the below to pass the query parameter and checking with the current date. I am not sure I am answered your question. Let me know if this helps
Dim Baseurl As String = "BaseUrl"
Dim Qry As String = "?q=EffectiveStartDate>"+Dt+"&onlyData=True"
Dim FinalUrl = Baseurl + Qry- ckattookaran4 years agoValued Contributor
So Dt is your parameter, and you are thinking of passing that into the connector rule to create your query? IF this is correct, then what I said is still valid. I don't know a way to pass the parameter to a connector rule. All I've seen is the ClientRequest call, and even that not sure where that is being passed. (it is in many rules, but they all fail to mention where that value is coming from).
Since you are looking for a date, can't you use the workflow you are loading and get it that way instead of passing it as a parameter?
Related Content
- 1 year ago
- 2 years ago
- 3 years ago