Exports CSV File Package(s) from an Oracle SaaS FSM server to the file system. This operation can be used from a utility workflow, which can also be augmented to sync the files to a source control management system (such as Git or Subversion). This allows the Oracle SaaS FSM project which is used for build and deployment to source from a source code repository rather than directly from a development SaaS instance.
Tip |
---|
Endpoint TipThis operation uses HTTPS to communicate remotely to the Oracle SaaS FSM server, and therefore, can be executed on any endpoint (including LOCALHOST). |
Target Properties
...
Property Name
...
Property Code
...
Required
...
Description
...
Oracle SaaS FSM Account
...
FDFSM_CLOUD_ACCOUNT_CODE
...
No*
...
Oracle SaaS FSM Account will be required on either the plugin input or Target. If a value is set on both then, the plugin input will take precedence.
See Special Considerations below for instructions on how to create Oracle SaaS FSM account.
Inputs
...
Input Name
...
Input Code
...
Required
...
Description
...
Oracle SaaS FSM Account
...
FDFSM_INP_CLOUD_ACCOUNT_CODE
...
No*
...
Oracle SaaS FSM Account will be required on either the plugin input or Target. If a value is set on both then, the plugin input will take precedence.
See Special Considerations below for instructions on how to create Oracle SaaS FSM account.
...
API Timeout
...
FDFSM_INP_TIMEOUT
...
No
...
Maximum amount of time (seconds) to wait for export process to complete after it is started. Defaults to 900 seconds (15 minutes).
...
Download Folder
...
FDFSM_INP_DOWNLOAD_FOLDER
...
No
...
Absolute or relative target folder path. Relative path will be assumed in FD_TEMP_DIR.
...
Stop on Error
...
FDFSM_INP_STOP_ON_ERROR
...
No
...
Stop exporting CSV File Package, if any error occurs. If false or not specified, exporting of other CSV File Packages will continue.
...
JSON File Path
...
FDFSM_INP_JSON_FILE_PATH
...
Yes
A list of tasks for export expressed as a JSON object. The JSON must contain a json array called “tasks”. See special considerations for details.
The value can directly be a JSON array or an absolute/relative path to a JSON file. If the first line begins with '@' then it assumed to be path to a file and try to load that. For example, @DEV_CSV_File_Packages.conf.
Relative paths will be assumed in FD_TEMP_DIR.
The JSON file can either be
Extract JSON File from SCM
Use absolute path to location on server. (Not recommended as it requires manual setup on server)
See special considerations for more information about format and contents of JSON File Path.
...
Extract CSV File Package
...
FDFSM_INP_EXTRACT_CSV
...
Yes
...
Optionally expand (unzip) the exported zip file. Default to true.
This is useful for developers or reviewers to view the content of the CSV file package (zip) in a SCM without needing to unarchive the file first.
Artifacts
This operation does not produce any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the Target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
Oracle SaaS FSM Account*
Before using this plugin operation, navigate to Topology → Integrations → Cloud, then create an account with provider OracleFSM for each one of your SaaS environments. This account will store the URL and credentials to make HTTPS requests to your SaaS environment. The account will be reusable by all Oracle SaaS FSM Plugin operations. All fields shown are required.
...
JSON File Path
csvDownloadAdvanced is expecting a file containing a json object with an array of data, which we call tasks. Recommendation is to name this file something along the lines of "FSMSetupTasks-Development" and give it an extension of .json. The "Development" postfix on the file name is to denote that these tasks will get exported from your Development Oracle SaaS FSM environment. Typically user will maintain one json file containing the below content because syncing to SCM process happens against one SaaS environment (Development in this case).
ExportCriteria and FilterCriteria are supported in the json file. This will allow for multiple export or filter criteria to be configured.
Code Block | ||
---|---|---|
| ||
{
"tasks":
[
{
"TaskCode" : "XLE_MANAGE_LEGAL_ENTITY",
"ExportCriteria": [
{
"BusinessObjectCode" : "XLE_ENTITY_PROFILE",
"AttributeName" : "LegalEntityIdentifier",
"AttributeValue" : "LE_AU_01",
}
]
},
{
"TaskCode" : "PAY_MANAGE_FAST_FORMULA",
"FilterCriteria": [
{
"BusinessObjectCode" : "FF_FORMULA",
"Operator" : "Equals",
"AttributeName" : "FormulaName",
"AttributeValue" : "MANAGER RANGE OF SCHEDULED HOURS",
}
]
}
]
} |
Referencing the above list of "tasks" one by one:
Downloads the Manage Legal Entity task where XLE_ENTITY_PROFILE column LegalEntityIdentifer is equal to LE_AU_01.
File path where this file to be downloaded is /SetupTasks/XLE_MANAGE_LEGAL_ENTITY/LE_AU_01.zip
Downloads the Fast Formulas task where FF_FORMULA column FormulaName is equal to MANAGER RANGE OF SCHEDULED HOURS.
File path where this file to be downloaded is /SetupTasks/PAY_MANAGE_FAST_FORMULA/MANAGER_RANGE_OF_SCHEDULED_HOURS.zip
The JSON objects within the "tasks" array can contain these 7 keys.
...
Key
...
Required
...
Description
...
TaskCode
...
Yes
...
Code of the Setup Task.
...
BusinessObjectCode
...
No*
...
Code of the business object whose attribute is used as the scope. Leave value empty to export entire Setup Task.
*Required to apply scope to Setup Task object type.
...
AttributeName
...
No*
...
Name of the attribute of the business object used as the scope. Leave value empty to export entire Setup Task.
*Required to apply scope to Setup Task object type.
...
AttributeValue
...
No*
...
Value of the named attribute that defines the filter criteria. Provide multiple values using ## I.E. VALUE1##VALUE2. Leave value empty to export entire Setup Task.
If you provide more than one value using ## separator, individual file for each value is downloaded.
*Required to apply scope to Setup Task object type. Otherwise, all supported non-Setup Task object type (I.E. Value Set, Lookups, or Flexfields), only Attribute Value and TaskCode are required. BusinessObjectCode and AttributeName can be left empty. See JSON object 5 example in FSMSetupTasks-Development.json
...
ExportCriteria
...
No*
...
As of 6.5.0.20, 7.0.0.11, 8.0.0.6, and 9.0.0.0, this operation will source some files as json files, and others as CSV files. Both can be uploaded successfully by the import operation, but the JSON packages will show as different files in SCM, so you may need to manually remove the old files if you use the operation both before and after upgrading between those versions. The types of files that are now downloaded as JSON instead of CSV are a subset of Value Sets and Lookups. The JSON download is much faster and smaller than the CSV one is. The resolves several issues that customers brought up where value sets and look ups were not exported properly due to file size restrictions in the export process.
Value Sets are downloaded as JSON now instead of CSV if the following criteria are met:
The
TaskCode
is set toFND_MANAGE_VALUE_SETS
The
AttributeName
is set toValueSetCode
The
AttributeValue
is set to the ValueSetCode of the ValueSet that you wish to download.
Lookups are downloaded as JSON now instead of CSV if the following criteria are met:
The
TaskCode
is set to one ofFND_MANAGE_SET_ENABLED_LOOKUPS
,FND_MANAGE_COMMON_LOOKUPS
, orFND_MANAGE_STANDARD_LOOKUPS
The
AttributeName
is set toLookupType
The
AttributeValue
is set to the LookupType of the Lookup that you wish to download.
Tip |
---|
Endpoint TipThis operation uses HTTPS to communicate remotely to the Oracle SaaS FSM server, and therefore, can be executed on any endpoint (including LOCALHOST). |
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Oracle SaaS FSM Account |
| No* | Oracle SaaS FSM Account will be required on either the plugin input or Target. If a value is set on both then, the plugin input will take precedence. See Special Considerations below for instructions on how to create Oracle SaaS FSM account. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Oracle SaaS FSM Account |
| No* | Oracle SaaS FSM Account will be required on either the plugin input or Target. If a value is set on both then, the plugin input will take precedence. See Special Considerations below for instructions on how to create Oracle SaaS FSM account. |
API Timeout |
| No | Maximum amount of time (seconds) to wait for export process to complete after it is started. Defaults to 900 seconds (15 minutes). |
Download Folder |
| No | Absolute or relative target folder path. Relative path will be assumed in FD_TEMP_DIR. |
Stop on Error |
| No | Stop exporting CSV File Package, if any error occurs. If false or not specified, exporting of other CSV File Packages will continue. |
JSON File Path |
| Yes | A list of tasks for export expressed as a JSON object. The JSON must contain a json array called “tasks”. See special considerations for details. The value can directly be a JSON array or an absolute/relative path to a JSON file. If the first line begins with '@' then it assumed to be path to a file and try to load that. For example, @DEV_CSV_File_Packages.conf. Relative paths will be assumed in FD_TEMP_DIR. The JSON file can either be
See special considerations for more information about format and contents of JSON File Path. |
Extract CSV File Package |
| Yes | Optionally expand (unzip) the exported zip file. Default to true. This is useful for developers or reviewers to view the content of the CSV file package (zip) in a SCM without needing to unarchive the file first. |
Artifacts
This operation does not produce any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the Target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
Oracle SaaS FSM Account*
Before using this plugin operation, navigate to Topology → Integrations → Cloud, then create an account with provider OracleFSM for each one of your SaaS environments. This account will store the URL and credentials to make HTTPS requests to your SaaS environment. The account will be reusable by all Oracle SaaS FSM Plugin operations. All fields shown are required.
...
JSON File Path
csvDownloadAdvanced is expecting a file containing a json object with an array of data, which we call tasks. Recommendation is to name this file something along the lines of "FSMSetupTasks-Development" and give it an extension of .json. The "Development" postfix on the file name is to denote that these tasks will get exported from your Development Oracle SaaS FSM environment. Typically user will maintain one json file containing the below content because syncing to SCM process happens against one SaaS environment (Development in this case).
ExportCriteria and FilterCriteria are supported in the json file. This will allow for multiple export or filter criteria to be configured.
Code Block | ||
---|---|---|
| ||
{
"tasks":
[
{
"TaskCode" : "XLE_MANAGE_LEGAL_ENTITY",
"ExportCriteria": [
{
"BusinessObjectCode" : "XLE_ENTITY_PROFILE",
"AttributeName" : "LegalEntityIdentifier",
"AttributeValue" : "LE_AU_01",
}
]
},
{
"TaskCode" : "PAY_MANAGE_FAST_FORMULA",
"FilterCriteria": [
{
"BusinessObjectCode" : "FF_FORMULA",
"Operator" : "Equals",
"AttributeName" : "FormulaName",
"AttributeValue" : "MANAGER RANGE OF SCHEDULED HOURS",
}
]
},
{
"TaskCode" : "FND_MANAGE_COMMON_LOOKUPS",
"ExportCriteria": [
{
"AttributeName" : "LookupType",
"AttributeValue" : "ORA_PER_UNION_CODE",
}
]
},
{
"TaskCode" : "FND_MANAGE_VALUE_SETS",
"ExportCriteria": [
{
"AttributeName" : "ValueSetCode",
"AttributeValue" : "AHC_CUST_CATEGORY",
}
]
}
]
} |
Referencing the above list of "tasks" one by one:
Downloads the Manage Legal Entity task where XLE_ENTITY_PROFILE column LegalEntityIdentifer is equal to LE_AU_01.
File path where this file to be downloaded is /SetupTasks/XLE_MANAGE_LEGAL_ENTITY/LE_AU_01.zip
Downloads the Fast Formulas task where FF_FORMULA column FormulaName is equal to MANAGER RANGE OF SCHEDULED HOURS.
File path where this file to be downloaded is /SetupTasks/PAY_MANAGE_FAST_FORMULA/MANAGER_RANGE_OF_SCHEDULED_HOURS.zip
Downloads the LookupType
ORA_PER_UNION_CODE
in JSON format.Downloads the ValueSet
AHC_CUST_CATEGORY
is JSON format.
The JSON objects within the "tasks" array can contain these 7 keys.
Key | Required | Description | ||
---|---|---|---|---|
TaskCode | Yes | Code of the Setup Task. | ||
BusinessObjectCode | No* | Code of the business object whose attribute is used as the scope. Leave value empty to export entire Setup Task. *Required to apply scope to Setup Task object type. | ||
AttributeName | No* | Name of the attribute of the business object used as the scope. Leave value empty to export entire Setup Task. *Required to apply scope to Setup Task object type. | ||
AttributeValue | No* | Value of the named attribute that defines the filter criteria. Provide multiple values using ## I.E. VALUE1##VALUE2. Leave value empty to export entire Setup Task. If you provide more than one value using ## separator, individual file for each value is downloaded. *Required to apply scope to Setup Task object type. Otherwise, all supported non-Setup Task object type (I.E. Value Set, Lookups, or Flexfields), only Attribute Value and TaskCode are required. BusinessObjectCode and AttributeName can be left empty. See JSON object 5 example in FSMSetupTasks-Development.json | ||
ExportCriteria | No* | List of criteria objects applied at export time. This is configured in the same fashion as the export criteria on a packaged-based FSM project, see https://flexagon.atlassian.net/wiki/spaces/FD80/pages/10556413502/Oracle+SaaS+FSM+Object+Type+-+Setup+Task#Export-Criteria for more details. Each export criteria object requires the following key-value pairs:
If any of the keys or values are missing csvDownloadAdvanced will throw a validation error. | ||
FilterCriteria | No* | List of criteria object applied post export for additional filtering. This is configured in the same fashion as the filter criteria configured on a packaged-based FSM project, see https://flexagon.atlassian.net/wiki/spaces/FD80/pages/10556413502/Oracle+SaaS+FSM+Object+Type+-+Setup+Task#Filter-Criteria for more details. Each filter criteria object requires the following key-value pairs:
Each export criteria object requires the following key-value pairs:
If any of the keys or values are missing csvDownloadAdvanced will throw a validation error. | FilterCriteria | No* | List of criteria object applied post export for additional filtering. This is configured in the same fashion as the filter criteria configured on a packaged-based FSM project, see https://flexagon.atlassian.net/wiki/spaces/FD80/pages/10556413502/Oracle+SaaS+FSM+Object+Type+-+Setup+Task#Filter-Criteria for more details.
Another JSON format shown below will only allow for one export criteria to be configured. We suggest using the keys ExportCriteria
and FilterCriteria
instead. However, keep in mind using this format will add an additional part in the path. More on this later. If both formats exists, then the format explained above will take precedence.
...
language | java |
---|
...
|
Another JSON format shown below will only allow for one export criteria to be configured. We suggest using the keys ExportCriteria
and FilterCriteria
instead. However, keep in mind using this format will add an additional part in the path. More on this later. If both formats exists, then the format explained above will take precedence.
Code Block | ||
---|---|---|
| ||
{ "tasks" : [ { "TaskCode" : "PAY_MANAGE_FAST_FORMULA", "BusinessObjectCode" : "", "AttributeName" : "", "AttributeValue" : "" }, { "TaskCode" : "PAY_MANAGE_FAST_FORMULA", "BusinessObjectCode" : "FF_FORMULA", "AttributeName" : "FormulaName1", "AttributeValue" : "EXT_ASSIGNMENTS_RECORD300000189455050_300000189455050" }, { "TaskCode" : "PAY_MANAGE_FAST_FORMULA", "BusinessObjectCode" : ""FF_FORMULA", "AttributeName" : "BaseFormulaName", "AttributeValue" : "EXT_BENEFITS_RECORD300000189455103_300000189455103##EXT_PERFORMANCES_RECORD300000189455100_300000189455100" }, { "TaskCode" : "PAYFUN_MANAGE_FASTBUSINESS_FORMULAUNIT", "BusinessObjectCode" : "FFFUN_BUSINESS_FORMULAUNIT", "AttributeName" : "FormulaName1Name", "AttributeValue" : "EXT_ASSIGNMENTS_RECORD300000189455050_300000189455050AU Council Business Unit" }, { "TaskCode" : "PAYGL_MANAGE_FAST_FORMULA_CHART_OF_ACCOUNTS_VALUE_SETS", "BusinessObjectCode" : "FF_FORMULA", "AttributeName" : "BaseFormulaName", "AttributeValue" : "EXT_BENEFITS_RECORD300000189455103_300000189455103##EXT_PERFORMANCES_RECORD300000189455100_300000189455100FlexDeploy Value Set Accounts##FlexDeploy Value Set Currencies" }, { "TaskCode" : "FUNFND_MANAGE_BUSINESS_UNIT", "BusinessObjectCode" : "FUN_BUSINESS_UNITCOMMON_LOOKUPS", "AttributeName" : "NameLookupType", "AttributeValue" : "AU Council Business UnitORA_PER_UNION_CODE" }, { "TaskCode" : "GLFND_MANAGE_CHART_OF_ACCOUNTS_VALUE_SETS", "BusinessObjectCode" : "", "AttributeName" : "ValueSetCode", "AttributeValue" : "FlexDeploy Value Set Accounts##FlexDeploy Value Set CurrenciesAHC_CUST_CATEGORY" } ] } |
Referencing the above list of "tasks" one by one:
...