Skip to main content
Newcomer
Mar 14, 2024 12:04 PM UTC
Solved

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

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

Employee - Sage
Mar 15, 2024 10:29 AM UTC

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.

6 replies

Employee - Sage
Mar 14, 2024 7:32 PM UTC

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

MK3Author
Newcomer
Mar 15, 2024 9:12 AM UTC

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

Employee - Sage
Mar 15, 2024 10:29 AM UTC

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.