Skip to main content
Nintex Community Menu Bar
Question

My custom formula vanishes and is replaced by "Object"


Forum|alt.badge.img+1

Hi Team,

 

I have been creating some custom formulas and today when wanting to edit one, it had vanished.

This is how I have been creating them and what it should look like.

But today when going to edit one, it shows this:

When I test it in preview it works as intended. I spent a lot of time creating the formula, so I am hoping there is a way for me to recoup the code?

 

Any advice is appreciated.

 

Cheers,

Benjamin.

Translate
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+3
  • Nintex Employee
  • 6 replies
  • August 20, 2024

Please try the steps below:

1. Query the following tables to look for the GUID of the View/Form:

  • View (checked in): Form.View table
  • View (checked out): Form.View_Design table
  • Form (checked in): Form.Form table
  • Form (checked out): Form.Form_Design table

2. When you save or finish a view or form, an entry is made in the Form.AuditLog table of the K2 database. To retrieve a list of the available versions of the view or form, replace the GUID in the SQL query below with the ID you obtained in step 1:
​​​​​

SELECT * FROM [Form].[AuditLog]
where [Data] Like '%<insert form GUID here>%'
and [Xml] is not null
order by datetime desc​​​​​​

3. The Xml column will contain the entire View/Form definition. You can copy the XML into an XML viewer and see if you can find your custom formula.

 

The steps above are extracted from the following KB article:
https://community.nintex.com/nintex-automation-29/roll-back-a-view-or-form-to-a-previous-version-force-check-in-and-cancel-check-out-of-a-view-or-form-27563

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 3 replies
  • August 20, 2024

This is with Nintex Automation Cloud, and the KB article suggests it’s for K2 only?

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • 6 replies
  • August 20, 2024

Please try the steps below:

1. Edit the View/Form in K2 Designer

2. Open a developer tools > click on Network and filter by AJAX calls ("XHR").

3. Click Finish button to save the Form or View without making any changes. 

4. In the Network trace, click on AjaxCall.ashx and look for the XML definition in the Payload tab:

View the detail in the trace
Notice the method: saveView or saveForm in the FormData
Notice the xml: this will be the XML definition

For your reference, see image attached:

 

Copy the value into an XML Viewer and see if you can find your formula.

If the above steps do not help, I would suggest you log a case with Nintex Support for further assistance.

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • 652 replies
  • September 2, 2024

Hi @BJHutchison 
Have you managed to resolve this?

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 3 replies
  • September 3, 2024

It had to do with the rich text formatting. In plain text it shows fine but in rich text it doesn’t.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings