I am working on an existing Power App, trying to add functionality to it. I am fairly certain that a piece of data I am trying to get is fetched by a Process, but I can't interpret what that Process is doing when looking at its entry. Here is a screenshot of the Process I am trying to edit/understand:
To me it looks like the process doesn't do anything, but when I disable it, the Power App doesn't perform the fetch I would expect this process to do. So, my question is this: How can I tell what a Process like this is doing? And for this particular one, are there any signs of what the actual "code" of this process is?
Within this Power App I found a JavaScript file which seemed to grab the data this process would grab, but modifications to that JavaScript file do not change the Power App's behavior.
I've found the XAML for the Process, and it seems like there really is nothing more to it than retrieving those output values from the specified input value, is there some kind of dictionary or map somewhere that turns an entity in its relevant properties? Because the JSON's outputted here definitely don't represent the whole object.
Assembly references and imported namespaces for internal implementation
I would think so too, but when I say modifications to the JavaScript file don't affect the App's behavior, I mean deleting all text from that file and leaving only a single line comment does not prevent the data from getting pulled. Does the process need to be "recompiled" in some way? I.E., is it storing any JavaScript files it references rather than fetching the actual versions, and would it need to "rediscover" the most recent versions of these files?
Just to be safe, I did search the file for "Xrm.WebApi.online.execute", but found nothing.
[quote user="Steve Zhao"]
Q: "And for this particular one, are there any signs of what the actual "code" of this process is?"
A: No.
[/quote]I am surprised by this. Surely the process is storing what actions it should take to acquire the outputs it provides somewhere, otherwise it itself wouldn't know what actions to take. Am I misunderstanding what this process is doing? Is it just fetching all of the outputs provided using the input ID without modifying them in any way? If so, how does one define the fields fetched by this? For example, although the process lists "SurveyTemplate" as a String output, it is actually a JSON containing many properties of that object. There are properties I am trying to have this process acquire (particularly an existing property of the SurveyTemplate table entry fetched by the process), but the data returned only seems to contain a few select properties.
Hi Jared.Leonard,
Q: "How can I tell what a Process like this is doing?"
A: This action is getting some data(output arguments) by surveyid.
Q: "And for this particular one, are there any signs of what the actual "code" of this process is?"
A: No.
"Within this Power App I found a JavaScript file which seemed to grab the data this process would grab, but modifications to that JavaScript file do not change the Power App's behavior."
This JS file could invoke the action. Something like this blog:
Adis
136
Super User 2025 Season 1
Sohail Ahmed
81
Jonas "Jones" Melgaard
77
Super User 2025 Season 1