Questions tagged [foundry-actions]

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

In Palantir Foundry, changes or edits to objects can be represented as Actions. An Action is a single transaction that changes the properties of one or more objects, based on a user-defined logic. This enables users to handle and manage data while thinking about their overall objectives instead of specific property edits. Actions enable the applications that comprise the Foundry platform to interact with data.

19 questions
2
votes
2 answers

Is it possible to set an Actions submission criteria that prevents submission if an object has more than a certain number of linked objects?

I currently have an action that creates a new link between an object of type A, named OA, and an object of type B, named OB. Our workflow has a constraint such that any object of type B can at most, be linked to 4 objects of type A. As such, I would…
2
votes
1 answer

Is it possible to set an Actions Submission Criteria that prevents submission if an array parameter is empty?

If the [property] value for a submission criteria "[property] each is not null" is an empty array, the submission criteria seems to still succeed. Is there a way to have a submission criteria that prevents an Action submission if the input for an…
kevpl541991
  • 161
  • 4
2
votes
1 answer

How do I update an array property in a Palantir Foundry Ontology edit Function?

I want to modify an array property on an Object using an Ontology Function (a.k.a FoO), but I'm seeing the following error: [typescript] Property 'push' does not exist on type 'readonly string[]'. Looking at the generated TypeScript definition for…
hjones
  • 168
  • 1
  • 8
2
votes
1 answer

Is it possible to change the title property of an object via a derived value from an edit form in Foundry?

I created an object that is backed by a Foundry Form and I would like to provide a user to change the properties of that object. I linked the form to the object and created a title property that is a hidden/ derived value in the object creation…
datawizard
  • 73
  • 2
1
vote
1 answer

How can I prompt a user to confirm before submitting an Action?

I am trying to configure an action in the ontology manager application. This action edits objects that are currently used in production, so we need to make sure that users to not accidentally submit actions. As such, I would like to configure an…
Max Magid
  • 245
  • 1
  • 8
1
vote
1 answer

How do I configure an Action to record the current timestamp or current user?

I'd like to allow users to edit an Object and want to record the time and by whom the edit was made. Is there a way to do this with an Action?
kevpl541991
  • 161
  • 4
1
vote
1 answer

How can I use an Action parameter to set a property value to null?

Is there a way for Actions to "clear" existing property values to null?
kevpl541991
  • 161
  • 4
1
vote
1 answer

Possible to have a Create Object Action with an auto-incrementing primary key?

When using a “Create Object” Action, is it possible to configure an incrementing primary key? That is, each new objects primary key is the most recently created object's primary key +1.
kevpl541991
  • 161
  • 4
0
votes
0 answers

Derived field in object types

Is there any way to populate a field based on other field (basically getting a substring) in ontology object type through actions/workshop or ontology itself? I know we can do it through function based action but don't want to use that for only 1…
0
votes
1 answer

How can I apply an Action to more than one object in a Workshop table?

I have a object table widget in workshop which is filtered by a filter list widget. Once filtered down to a selection of objects, I would like to apply an action to all of them. However, I am currently only able to apply an action to one of them at…
Max Magid
  • 245
  • 1
  • 8
0
votes
1 answer

Why can I not select my action as an inline action?

I want to change the assignee property with an inline action but I cannot seem to select the action I created in the dropdown. Why is my action not showing up? I added images showing the action configuration for reference.
Max Magid
  • 245
  • 1
  • 8
0
votes
1 answer

Is there a way to set an object property to a relative time in the future in a Palantir Foundry Action?

I have an object type in my ontology that functions like a ticket/request system. As users view and respond to each ticket, I'd like there to be an action that represents a "deferral" of action. This action would make the following updates: Set the…
stevenc
  • 5
  • 3
0
votes
1 answer

Can I send Action Notifications to non-Foundry users?

I want to use Action Notifications to send emails to an array of email addresses. Some of these email addresses belong to non-Foundry users. So far I have not been able to find a way to do this. Can this be done?
Max Magid
  • 245
  • 1
  • 8
0
votes
1 answer

How do I send notifications depending on different conditions via Foundry Actions?

I have a workshop module where I want a notification to go to a different set of users depending on whether a certain property on the object in question has been changed by an action or not. In other words, I want to conditionally route my…
Max Magid
  • 245
  • 1
  • 8
0
votes
1 answer

How can I enforce constraints on dates in action forms?

How do I put a constraint on a parameter of type date that I am using in my actions form? I have date1 and date2 and need to have date2 > date1.
Max Magid
  • 245
  • 1
  • 8
1
2