简体   繁体   English

Informatica工作流程方案

[英]Informatica workflow scenario

我有一个关于工作流程的问题,每次我们复制相同的工作流程时都只是更改参数文件和工作流程的命名约定。工作流程中的会话是可重用的。我不想创建可重用的工作流程。无论如何我们都可以创建一次使用多个不同的工作流程并使用不同的命名约定并创建不同的参数文件。我的主要重点是自动化此过程,以便我们可以一次创建50个工作流程并动态创建参数文件。请让我知道是否可能?

I guess this isnt a valid query. 我猜这不是有效的查询。 If you still want to give it a try then what you can do is at first export that workflow to some xml and use this same xml with pmrep command to import with new name. 如果您仍然想尝试一下,那么您可以做的是首先将工作流程导出到一些xml,然后使用此相同的xml和pmrep命令以新名称导入。

     pmrep objectexport -n 
      <DB.SourceName> -o 
    Source -f <Folder Name> -m -s -b -r –u 
     <xml file name>;

     ---------xml details to be included----------

      <RESOLVECONFLICT>

         <TYPEOBJECT 
      RESOLUTION="RENAME" 

   OBJECTTYPENAME="WORKFLOW"/>

     </RESOLVECONFLICT>

but again I will say your query is pointless coz you have it manually just to drag and drop that workflow onto same existing folder and rename even if you want to create many workflows 但是我会再次说您的查询没有意义,因为您手动将其拖放到相同的现有文件夹并重命名,即使您要创建许多工作流也是如此

I don't think there is a way to automate the creation of workflows in informatica. 我认为没有一种方法可以自动在Informatica中创建工作流程。 But since you want to invoke the same workflow with the same session, but you have different parameter files, you could probably use the pmcmd command and specify different parameter names at the time of invocation. 但是,由于您想在同一会话中调用相同的工作流,但是具有不同的参数文件,因此您可以在调用时使用pmcmd命令并指定不同的参数名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM