Summary
Given an Activity Number and a Task Group identifier, returns information about the matching Activity Instance. If no Activity Instance is found, a new one is automatically created. The new record is functionally equivalent to an Activity Instance created by an end user via the "Add Activity" button on a Learning Plan Task Group.
If more than 1 matching Activity Instance record is found, or if a new instance cannot be created, an error is returned.