{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":46369,"path":"service-exchange/service-bridge-v2-flow-action.md","title":"Flow action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Flow action\n\nWorkflow Studio predefined actions help you preserve mapped variable integrity and maintain flow compatibility across configuration revisions.\n\nService Exchange provides a set of predefined Workflow Studio actions that you can use in your flows or subflows to retrieve variable values from remote tasks and provider tasks. For details on flows, see [Getting started with flows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/getting-started-flow.md).\n\nService Exchange provides the following actions in Workflow Studio:\n\n**Note:** To avoid upgrade issues, use these predefined actions in your flows and subflows.\n\n<table id=\"table_x1x_ch2_zfc\"><thead><tr><th>\n\nAction\n\n</th><th>\n\nDescription\n\n</th><th>\n\nInput\n\n</th><th>\n\nPurpose\n\n</th><th>\n\nOutput\n\n</th></tr></thead><tbody><tr><td>\n\nGet Provider Task Variables for RRP\n\n</td><td>\n\nRetrieve variable values from a Provider task based on a selected remote record producer \\(RRP\\) as data pills for use in other actions.Must be in the `sn_sb` base scope.\n\n</td><td>\n\nprovider task, RRP.\n\n</td><td>\n\nUse variables in automation flows, such as updating a parent task or ordering a local catalog item.\n\n</td><td>\n\nReturns named data pills based on the variables within the RRP.\n\n</td></tr><tr><td>\n\nGet Remote Task Variables from Consumer\n\n</td><td>\n\nRetrieves variable answers from a remote task based on a selected remote task definition \\(RTD\\) identity, exposing them as data pills for use in other actions.Must be in the provider scope.\n\n</td><td>\n\nremote task, RTD identity.\n\n</td><td>\n\nUse variables in automation flows, such as updating a parent task.\n\n</td><td>\n\nReturns named data pills based on the variables within the latest published RTD.\n\n</td></tr><tr><td>\n\nGet Remote Task Variables from Provider\n\n</td><td>\n\nRetrieve variable values from a remote task based on selected remote task definitions.Must be in the consumer scope.\n\n</td><td>\n\nremote task,RTD identity.\n\n</td><td>\n\nUse variables in automation flows, such as updating a parent task.\n\n</td><td>\n\nReturns named data pills based on the variables within the latest published RTD.\n\n</td></tr><tr><td>\n\nOrder Remote Record Producer\n\n</td><td>\n\nAutomate ordering a RRP.Must be in the consumer scope.\n\n</td><td>\n\nRRP.\n\n</td><td>\n\nStreamline processes such as hardware asset management \\(HAM\\) by scripting RRP ordering.\n\n</td><td>\n\nReturns the newly created provider task GlideRecord.\n\n</td></tr></tbody>\n</table>"}}