Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Power Apps Process: What's going on?

(0) ShareShare
ReportReport
Posted on by

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:

pastedimage1635772648144v1.png

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.

  • Jared.Leonard Profile Picture
    on at
    RE: Power Apps Process: What's going on?

    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
    	
    

  • Jared.Leonard Profile Picture
    on at
    RE: Power Apps Process: What's going on?


    [quote user="Steve Zhao"]This JS file could invoke the action. Something like this blog:[/quote]

    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.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Power Apps Process: What's going on?

    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:

    www.inogic.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans