I'm looking at including and excluding configuration parameters from passing through to the profile load script, which when I check it the parameter is passed through to the PLS, with whatever is defined in the instance, even when the value is not defined, and only passed to the PLS when unchecked and the value is set.
This feels very backwards/a bug.
We do want to be able to send through the parameter to the PLS if it's not initialized, as we want to combine it with data from DOM, but define the parameters wanted to be set via the instance.
Hi Jorge,
That is correct.
I have been looking at having a placeholder value to signify the value needs to be retrieved from DOM as well; though as the data types are different it’s not consistent.
The bookings will be created through a script, but also we’ll be using the PLS ad-hoc with resource automation as well, when we need to re-apply a config.
I see that this question has been inactive for some time. Do you still need more information for this? If not, could you select Jorge’s answer to indicate that the question is resolved?
The requirement for our case aren't currently a possibility, so a new feature has been requested.
SRM: Allow all profile instance parameters to be returned to a profile load script, even when null.
Hi Philip, think the best way is when creating your booking you fetch the values from the Profile Instance and DOM Instance you want, then you check which values are the correct from both. With that you fill the Function.Parameters with those values, also pass Function.ByReference = false, so the values are considered. Code snippet below:
new Function
{
Id = 7,
ByReference = false,
ProfileInstance = "ReplaceWithProfileInstanceGuid"
Parameters = new List<Parameter>
{
new Parameter
{
Id = "ReplaceWithProfileParameterGuid",
Value = "ReplaceWithProfileParameterValue"
},
new Parameter
{
Id = "ReplaceWithProfileParameterGuid",
Value = "ReplaceWithProfileParameterValue"
}
}
}
Then when your PLS is called, you will get those values.
Thanks Jorge,
This doesn’t cover the case where there isn’t a book though does it?
How are you calling the PLS when you don’t have a booking?
I’m looking at resource automation
Hi Philip,
For resource orchestration currently the only possibility is to get the values from a Profile Instance, so you would have to create a profile instance with the correct values and then call the PLS with that profile instance.
If that doesn’t work for you please create a create a feature suggestion (https://community.dataminer.services/feature-suggestions/) describing your use case, we will take a look into it.
Hi Philip, am I assuming correct that your use case is: you have a Profile Instance with some parameter values and other parameters without values, then for the parameters without values you want to set values from a DOM Instance?
If not, could you please elaborate on your use case? Maybe with some screenshots.
Can you also describe how the bookings are created? Through a script or the wizard?