Ways to retrieve Validation transform information for documentation

Hi All,
We have a requirement which needs to document validation rule in all validation transform of data flow in a project.
Does anyone know if there is a way which we can retrieve validation rules from DI repository? E.g. a SQL statement.
I searched the DI repo tables but no luck.
Hope someone can give me some light.
Thanks,
Bobby

In the Auto Documentation in the Management Console, you can browse all the objects in your repository and for the validation transform it will show the rules used in that transform. This is for browsing only though, the print feature does not print the details for any of the transforms, so also for the Validation transform the details (i.e. the validation rules) are not printed.
Unfortunately, today there is not an easy way to extract the validation rules via a simple query. It is a common request though that we will address in a future release (import/export of validation rules).
That being said, technically there are some options to get access to the rules. Not straightforward though...
The validation rules are part of the transform definition, which on its turn is part of the whole dataflow definition. So they are not stored as separate objects in a table somewhere, but embedded into the ATL language we use to describe the DI objects. What you could do is export the repository to an ATL file (or select from AL_LANG_TEXT table in the repo) and scan this file for the validation rules. Below is an example of how such a rule would look like, in this case the rule name is "MyRuleName" and the rule is  : Query.JOB_KEY = 1.
As a side note, the part that would be easy to get via a SQL query are the run-time statistics of the validation transform. These statistics (number of records passed/failed for each validation rule) are stored in the repo tables al_qd_* and are also used by the Validation Dashboards in the management console. Keep in mind that you need to check the option to 'collect  data validation statistics' in order to collect these details.
CALL TRANSFORM Validation ()
INPUT(Query)
OUTPUT(Validation_Pass ( JOB_NAME varchar(192),
JOB_KEY int,
JOB_RUNID varchar(384),
RUN_SEQ int,
PATH varchar(765),
OBJECT_NAME varchar(765),
OBJECT_TYPE varchar(765),
ROW_COUNT varchar(765),
START_TIME varchar(765),
END_TIME varchar(765),
EXECUTION_TIME varchar(765),
DATAFLOW_NAME varchar(765),
JOB_ID int ) ,
Validation_Fail ( JOB_NAME varchar(192),
JOB_KEY int,
JOB_RUNID varchar(384),
RUN_SEQ int,
PATH varchar(765),
OBJECT_NAME varchar(765),
OBJECT_TYPE varchar(765),
ROW_COUNT varchar(765),
START_TIME varchar(765),
END_TIME varchar(765),
EXECUTION_TIME varchar(765),
DATAFLOW_NAME varchar(765),
JOB_ID int,
DI_ERRORACTION varchar(1),
DI_ERRORCOLUMNS varchar(500) )  )
SET("validation_rules" = '<?xml version="1.0"; encoding="UTF-8"?>
<Rules collectStats="true" collectData="false" >
<Column name= "Query.JOB_KEY"; enableValidation="true" noValidationWhenNull="false" >
<RuleName> MyRuleName </RuleName>
<Description></Description>
<Expression uiSelection="1">
<UIValue1>=</UIValue1>
<UIValue2>1</UIValue2>
<Custom> Query.JOB_KEY = 1 </Custom>
</Expression>
<Action sendTo="0" substOnFail="false" substValue="" />
</Column>
</Rules>

Similar Messages

  • Is there any way to retrieve past appointment information from Iphone calendar.  All disappeared. (kind of important, Apple)

    I need to find past work dates and information for taxes and claims, etc, but the calendar app seems to have erased everything dating back further than a few weeks. Is there any way to retrieve this? The IOS walk thru doesnt explain that not syncing ALL EVENTS means they'll all be erased.  Dumb.  This is kind of imprtant, Apple, for an 'everything' device.  Please advise. Post-setting to 'all events' has not restored the info... Thank you!

    Not sure what you mean by 'turn off calendars'.  Do you mean under 'accounts' that i should delete the  previously synched calendar accounts from the iphone and then turn it back on?  This will restore all the information?
    thank you.

  • HT1366 Any way to retrieve a serial number for my stolen Mac book without the receipt?

    Please tell me there is a way to retrieve the serial number on my stolen Mac book I purchased about 5 years ago so I no longer have the receipt

    Hello Jrose33,
    Sorry to hear about your MacBook.  I found a couple of resources that might help with locating the serial number for your MacBook. 
    If you registered yoru MacBook when you purchased it, you can view the serial number in the Support Profile of the Apple ID you registered it to:
    Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    Go to My Support Profile*.
    Sign in with your Apple ID.
    View your purchases in "My Products".
    You can find the full article here:
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/HT2526
    If you never registered your MacBook with your Apple ID, you can also find the serial number on the packaging:
    How to find the serial number of your Apple hardware product
    http://support.apple.com/kb/HT1349
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • My website was erased from my computer and is published and hosted by go daddy.  Is there a way to retrieve the lost information?

    my website was erased from my computer, can it be restored?

    I'm using Firefox & if you do a Save As a window opens where you can save the web page. Be sure to select Web Page, complete so you'll aslo save images, etc. You also have the option to save the HTML of you programmed the page.
     Cheers, Tom

  • Disable 'retrieving remote folder information'?

    Is there any way to disable the 'retrieving remote folder
    information' query? It causes a delay of about 10 seconds every
    time I switch into the expanded local and remote sites view. It is
    incredibly annoying.
    I work in the full-screen file and folder view quite often. I
    find it easier to browse the local view in full-screen mode. I
    rarely browse the remote folders and files so I could care less if
    the view is up to date. I would refresh it manually, if possible.
    Does Dreamweaver CS3 behave the same way? I would gladly
    upgrade to get rid of this annoying behavior (along with the
    'background file activity' dialog).
    Thanks.

    Meriphew wrote:
    > Hi all - I'm using DW MX and trying to upload files to a
    remote server(I'd
    > previously used Frontpage, this is my first site using
    DW). When I click on the
    > 'Put Files' arrow, I get a messg that reads "Retrieving
    remote folder
    > information for /meriphew." I can't tell if it's
    actually doing anything or
    > not, as there's no status bar. Is this normal or have I
    run into some kind of
    > error/freeze? Thx for any assistance.
    >
    >
    >
    It is normal, Dreamweaver is a snail-slow FTP program.
    But after a while, the message should change and you should
    see your remote files appear in the
    remote files side. No?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Retrieving the milestone dates for an opportunity line item

    Good afternoon experts,
    I am looking for a way to retrieve the milestone dates for an opportunity line item.  I have the line item GUID and need to find out the milestone dates for the item.
    Is there a table or FM that will allow me to do this?
    Thanks,
    Eric

    Hi Eric,
                     I think you can use the FM 'CRM_ORDER_READ'. Pass the guid of the transaction as input to the FM , milestones details you will get from the parameter 'ET_APPOINTMENT'.
    Hope this helps.
    Regards,
    Ruby.

  • Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi there,
    I use visual studio community 2013 to develop app for office. When I create app project using template and directly run it, it shows me this error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Can anyone help? Thanks in advance.

    Hi holm0104,
    Did you add custom code into the project? Can you reproduce the issue in a new project without custom code?
    If not, did you have issue when you create a normal web application?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information" while attempting to open UNIX/Linux monitor

    We have upgraded our System Center to 2012 R2, and we cannot open any of the UNIX/Linux LogFile monitor property or the UNIX/Linux process monitor property for those monitors created prior to the upgrade.  Error we get is below.  Any assitance
    appreciated.
    Date: 9/30/2014 10:01:46 PM
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message:
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.TypeContainer.get_ContainedType()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.AddTemplatePages(LaunchTemplateUIData launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Initialize(Object launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.RunPrivate(Object[] userData)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Run(Object[] userData)

    It's possible the upgrade did not update everything properly as it looks like a dll mismatch or a missing file. I'd open a support ticket with MS and have a support engineer look at the upgrade logs. What version of SCOM did you upgrade from?
    Regards,
    -Steve

  • SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi,
    I appollogize if this post is off topic. I have problem wiht publish WebApp MVC.
    I have website (MVC) with one Web reference. Build and run in VS working. But when I tried to publish to disk I get error:
    SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    I have VS2013 Profesional with all updates and Windows 8.1.
    If I remove web reference then publishing working. Where can be a problem? Thanks.

    @Marek Bober,
    Thanks for sharing the solution back to here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Claims debacle (error) with Term Store: "Could not retrieve a valid windows identity" for all sites in a particular web app.

    When I pull up the Term store in CA or any MySite collection, it works.
    When I do so in any other site collection (HNSCs, incidentally), It doesn't return any term stores.
    My ULS log immediately before and after the "/_vti_bin/taxonomyinternalservice.json/CheckPermission" POST on termstore .aspx triggers the WCF call:
    Claims Authentication af30y Verbose Claims Windows Sign-In: Successfully signed-in the the user 'contoso\domainUser' for request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Claims Authentication af30q Verbose Updating header 'LOGON_USER' with value '0#.w|contoso\domainUser' for the request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|contoso\domainUser, ClaimsCount=77
    Logging Correlation Data xmnv Medium Site=/
    Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://CONTOSOFE3:32843/00e6d55691824965ac223f1d1cfae6d2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:590e916c-c89a-4f89-9819-a82c97fabcaa'
    Claims Authentication bz7l Medium SPSecurityContext: Could not retrieve a valid windows identity for username 'contoso\domainUser' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service. at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity) at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid) at SyncInvokeUpnLogon(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
    Claims Authentication g220 Unexpected No windows identity for contoso\domainUser.
    The "The caller is not authorized to access the service." message seems pertinent.
    Both web apps are using only NTLM auth.
    The url for both web apps ends in the same contoso.com domain. 
    I get the same errors no matter what account I use, including the install account.
    Things I've tried:
    Deleting and building a new HNSC root web app and site. Error happens in all sites in all web apps except the PBSC hosting MySites.
    Giving the root site app pool identity full control of the metadata service app (even though the MySite identitiy doesn't have it)
    Giving the root site app pool identity full permissions on the metadata service app.
    Comparing database and web app config permissions between dev (where everything works perfectly) and prod (where it does not).
    Made sure IIS auth settings on both sites are identical
    Both sites are using the same SSL certificate (though the call to the web service appears to be http)
    Reprovisioned the metadata service app with a new database and new app pool identity.
    Made sure C2WT is running. Tried it with the service stopped as well.
    Web.configs are identical between working and non-working apps.
    I'm stumped but still Googling. I'm hoping to avoid having to call Micrososft. Any help would be appreciated!
    UPDATE:
    Interestingly, when I restored the web application from backup (via CA), I ended up with 3 identical "Windows Authentication" authentication providers assigned to the problem web app. Since there was more than one, I was directed to the provider-chooser
    page when visiting the site. Upon choosing 1 of the 3, I was authenticated, and *poof*, no more authentication errors and the term store loaded term sets as expected.
    Of course, 3 providers was not an ideal state, so I grabbed the one that worked (#1) via get-spauthenticationprovider, and assigned it to the web app via set-spwebapplication, and my problem returned.
    I am currently updating the farm to SP1 from June 2013 CU. Fingers crossed.
    Update:
    The update to SP1 went smoothly, but did not resolve the issue. Also related (I believe) are the random authentication errors when trying to upload images to some libraries, and 401-errors on the accessdenied.aspx page itself.
    Update:
    The problem is resolved, seemingly after making 4 changes. I'm trying to narrow down which change was the cure, if any:
    I installed SP1 on all 6 servers, rebooted and upgraded. This appeared to have no effect.
    Removed an old login from SQL that no longer existed in AD because of this ULS error:
    System.Runtime.InteropServices.COMException: The user or group contoso\svc_xxxxxxxxx' is unknown., StackTrace:    at Microsoft.SharePoint.Utilities.SPUtility.GetFullNameFromLoginEx(String loginName, Boolean&
    bIsDL)
    This login was the identity of the application pool that used to run the web app in question.
    This login was the schema owner of a schema named after itself on every SharePoint database so I changed the schema owner to dbo but left the schema attached.
    The problem may have surfaced initially when the app pool identity was changed in CA, but went unnoticed?
    Note that the web app had been deleted and recreated many times with a new identity and pool to no avail, but the URL remained the same throughout each attempted fix. Relevant?
    Grasping at straws, I changed the app pool identity for this web app to the same one that runs the MySite web app pool as per this only slightly related problem: http://www.planetsharepoint.org/m/preview.php?id=372&rid=34764&author=Vlad+Catrinescu
    I changed the authentication method from NTLM to Negotiate.
    I am rolling back #3 and #4 to see if the issue resurfaces.
    Update:
    It doesn't appear to have been the NTLM/Negotiate setting. Web app is currently set to NTLM and all is well. No strange accessdenies, and term Store is still manageable from all sites.
    Update: Sorry for the delay. I am administering 6 farms these days. Will update as soon as the final phase of rollbacks happens.
    I think I can. I think I can.

    maybe that web app was accidentally created with classic auth?
    here's an example of how to create claims based, with classic, and then "doing 2013" claims
    #Create the example web application, as mentioned above, either with gui, and pick later, or
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -databaseName$contentDB-securesocketslayer
    #If doing for 2013
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -AuthenticationProvider(new-spauthenticationprovider)
    -databaseName$contentDB-secureSocketsLayer

  • I have used the "description" spot in iPhoto for in-depth additional information for photos of my ancestors. Now I am wanting to know if there is a way to print the photos along with the descriptions; either photo by photo, or maybe more than one per page

    I have used the "description" spot in iPhoto for in-depth additional information for photos of my ancestors. Now I am wanting to know if there is a way to print the photos along with the descriptions; either photo by photo, or maybe more than one per page, or possibly in some sort of booklet format. Thank you very much.

    You can make a Book and have a photo on one side and your text description on the other.

  • Photoshop elements 10 won't start. Message is. 'Runtime error.  Application has requested the runtime to terminate in an unusual way.  Please contact support team for more information' 'microsoft Visual C   Runtime Library.  How do I fix this or can I jus

    photoshop elements 10 won't start. Message is. 'Runtime error.  Application has requested the runtime to terminate in an unusual way.  Please contact support team for more information' 'microsoft Visual C   Runtime Library.  How do I fix this or can I just uninstal and then re-instal (without losing my spare licence that I want to use elsewhere)  It is a PC not a Mac

    See if anything here helps:
    Troubleshoot C++ runtime errors | Adobe products | Windows

  • I just noticed that all my calendar events (other then yearly recurring) past the last 30 days are no longer on my calendar. Is there a way to retrieve them or are they lost?  I need them for my business!!

    I just noticed that all my calendar events past the last 30 days are no longer on my calendar,(other then yearly recurring) . Is there a way to retrieve them or are they lost?  I need them for my business!!

    Thanks for your reply. I did this and the events have not been restored. I am clouding between my iPhone and iPad and changed the settings on both devices. Do I need to power on and off?

  • I have lost my login information for cellular data account. How do I retrieve it?

    I have lost my login information for cellular data account. How do I retrieve it?

    I called AT&T at 1-800-331-0500 and asked for IPad support. They are going to send me a new SIM card. This will solve the problem. Thanks for  your help.

  • DI Job Failed with no reason since last week : Invalid schema is specified for PASS output in the Validation Transform

    Post Author: Nono44
    CA Forum: Data Integration
    Hi,
    I have problem with DI job. That job doesn't work since friday.
    The error is :
    (11.7) 04-21-08 09:48:56 (E) (2588:2396) XRN-130125: |SESSION
    OracleApps_GLFacts_Load|STATEMENT
    <GUID::'93342049-fbd9-4942-bab2-5565e8e248bf' TRANSFORM Validation
    OUTPUT(Validation_Pass,
    Validation_Fail)>
                                                         Invalid schema is specified for PASS output in the Validation Transform  Does anybody know what is it ?
    Thanks a lot.
    Arnaud

    Post Author: Nono44
    CA Forum: Data Integration
    Hi,
    I have problem with DI job. That job doesn't work since friday.
    The error is :
    (11.7) 04-21-08 09:48:56 (E) (2588:2396) XRN-130125: |SESSION
    OracleApps_GLFacts_Load|STATEMENT
    <GUID::'93342049-fbd9-4942-bab2-5565e8e248bf' TRANSFORM Validation
    OUTPUT(Validation_Pass,
    Validation_Fail)>
                                                         Invalid schema is specified for PASS output in the Validation Transform  Does anybody know what is it ?
    Thanks a lot.
    Arnaud

Maybe you are looking for