private EntityReference GetSourceEntityReference(ITracingService tracingService, CodeActivityContext executionContext, IOrganizationService organizationService)
        {
            string sourceRecordUrl = SourceRecordUrl.Get <string>(executionContext) ?? throw new ArgumentNullException("Source URL is empty");

            tracingService.Trace("Source Record URL:'{0}'", sourceRecordUrl);
            return(new DynamicUrlParser(sourceRecordUrl).ToEntityReference(organizationService));
        }
        private EntityReference GetSourceEntityReference(Common context)
        {
            string sourceRecordUrl = SourceRecordUrl.Get <string>(context.codeActivityContext) ?? throw new ArgumentNullException("Source URL is empty");

            context.tracingService.Trace("Source Record URL:'{0}'", sourceRecordUrl);
            return(new DynamicUrlParser(sourceRecordUrl).ToEntityReference(context.service));
        }