Questions tagged [foundry-scenarios]

Questions related to development using Palantir Foundry's Scenarios application are appropriate to use here.

Scenarios in Palantir Foundry enable the creation and comparison of "what-if" analyses using the objects in an Ontology and the ontological concept of a Model.

15 questions
2
votes
1 answer

When applying a scenario, do we have to delete the scenario as well, to prevent applying the changes twice?

Running through the full loop for a scenarios-based workflow and noticed that the scenario once applied is NOT auto-deleted. What is considered best practice to prevent users from accidentally applying a scenario twice? Is it best to delete them…
mpena
  • 23
  • 3
2
votes
1 answer

Correctly formatting boolean in bar chart with scenario

In a workshop I have a bar chart where one axis is a boolean property and I'm running scenarios on the backing object set that will modified this property. I want to compare the number of true/false before and after. However I have weird behaviour…
GuiguiDt
  • 263
  • 1
  • 11
1
vote
2 answers

Foundry Scenarios edited data materialized as dataset

Is it possible to materialize the edits made as part of a scenario into a dataset in foundry? I want for each scenario to write out the primary keys of the objects edited as part of the scenario. The motivation is that I need to run multiple…
snø
  • 11
  • 2
0
votes
0 answers

How to declare a type in a function parameter that takes variable list (scenario list) as an input in foundry workshop?

I have a scenario selector dropdown whose output is a scenario list/variable list that feeds into a table. Now I need to display this somewhere so that the users know which of the scenarios are being compared and in which order. I have created a…
0
votes
1 answer

Is it possible to run a modification action and then a function following it in workshop?

So i have a function which calculates ranks for countries but i want this function to be run when: user creates a scenario, submits some weightages and then run Fx User edits weightages, run Fx But I am unable to define a function run after…
0
votes
1 answer

How to pass the scenario id as a parameter in Workshop?

I have a workshop module which is handled by scenarios. I am trying to pass that scenario id so that the Ontology action can create/edit the details of the stored scenario dataset, but i m not getting where i can get this id from. I know this is…
0
votes
1 answer

Apply scenario on inline edit in table

Is it possible to apply to a scenario an inline edit action on a table widget? I don't see the "Apply to scenario" toggle like in the button widget configuration. Note: My table widget is based on a scenario.
GuiguiDt
  • 263
  • 1
  • 11
0
votes
1 answer

In Foundry Scenarios, Is it possible to run functions across multiple scenarios?

I would like to run functions across a few of my Scenarios, but I'm not sure how to configure this. Is it possible to run functions across multiple Scenarios?
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

In Foundry Scenarios, what does the delete button do when a Scenario is saved and backed by an Object?

I'm looking to understand when to use the delete button in the Scenario config. What does the delete button do when a Scenario is saved and backed by an Object?
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

What's the difference between “scenario to load data from” set to a dynamic scenario variable and “compare against scenario” set to a scenario array?

I'm looking to understand more about dynamic scenario variables and scenario arrays in my Scenario. What's the difference between “scenario to load data from” set to a dynamic scenario variable and “compare against scenario” set to a scenario array…
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

Does Foundry Scenarios support Quiver?

I would like to use Scenarios in my Quiver application - does Scenarios support Quiver?
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

What is the difference between closing/X'ing out of an action and undoing an action in the Foundry Scenario summary widget?

I'm looking to understand what happens when you close out of an action verses undo an action in a Scenario summary widget to see what impact they each have on my Scenario. What is the difference between closing/X'ing out of an action and undoing an…
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

In Foundry Workshop, how do I save and writeback all values set within a Scenario?

I've created a Scenario in Foundry Workshop and would like to save all of the values set in the Scenario to a dataset for further processing or display. How do I configure my Scenario so that its values are written back to a backing dataset like…
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

How can I save a Foundry Scenario and use it in another Workshop module?

I've created a Scenario in Foundry Workshop, and wish to reuse it in another Workshop module. Is there a way to accomplish this task without needing to recreate the same Scenario multiple times?
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

In Foundry Workshop, is it possible to reset a scenario when a user navigates away from a Workshop tab?

I've created a scenario in Foundry Workshop, and would like to set it up so that it resets whenever a user changes their active Workshop tab. Is it possible to accomplish this within scenario variables?
Adil B
  • 14,635
  • 11
  • 60
  • 78