How can I debug an issue where the Profile Load script does not seem to get triggered?
The booking manager wizard shows all the resources and I'm able to assign.
When the booking executes I don't see an event log that the profile loadscript should write as 1st action.
The LSO script associated to the START is run.
Could it be the token is never activated? If so what could be the reason?
A Profile Load Script, as the name states, is attached to a profile in order to trigger some logic over a given profile that was assigned to a Node Resource Usage.
Scripts are triggered by a "ApplyProfile" method call from a SrmResourceConfiguration instance.
For a Script to be properly triggered 2 key points are needed to configure on both Automation Script and Profile Definition of the Targeted Resource Node.
Profile Definition Level:
In this example you can identify a Profile Definition. Focus on the Scripts section and notice 2 different Profile Load Scripts, one for MediaKind and another for Harmonic. The Name should match the function name whereas the Script matches the intended script to call.
Automation Script Level:
Previous snapshot features one of the Profile Load Scripts previously illustrated on the Profile Definition.
Notice the DUMMIES section, we've configured a dummy at Function DVE Level stating the protocol and the version.
If the "MDC_Profile_Load_MediaKind Audio" script is matched has one of the scripts defined in the Profile Definition it will surely be called by the LSO Script.
Also worth mentioning a common mistake i did (a lot) in the past was assigning a Resource from a different protocol/version that was configured in the Automation Script.
Make sure your Resource belongs to the mentioned Protocol/ProtocolVersion defined in the dummies.