Skip to main content
March 14, 2024
Solved

How to get data source and transformation profile information from workflow profile properties?

  • March 14, 2024
  • 1 reply
  • 0 views

Hi Team,

how can we get data source, transformation rule profile and other information of workflow profile. Trying to get it from workflow profile attributes using the index but not able to find index for data sources. Can you please help me with this?

 

Thanks,

Manju K

Best answer by JackLacava

ParserLayouts and the other Parser* tables. Transformation rules are also available in the api from Brapi.Import.Metadata.*. There are other bits in api.Parser if you're inside an actual Parser rule.

1 reply

March 14, 2024

All the indexes are defined as constants in SharedConstants.WorkflowProfileAttributeIndexes. So in your case it's Sharedconstants.WorkflowProfileAttributeIndexes.DataSource .

MK4Author
March 15, 2024

Thank you for the reply.

But how can I get the value of data sources from the key, which table to refer?


MK_0-1710493925138.png

Thanks,

Manju K

March 15, 2024

ParserLayouts and the other Parser* tables. Transformation rules are also available in the api from Brapi.Import.Metadata.*. There are other bits in api.Parser if you're inside an actual Parser rule.