Conditions cannot be null in while updating glue trigger in Cloudformation template - aws-cloudformation-custom-resource

I created glue job and glue trigger from cloudformation template. the job and Trigger running successfully. but i am get the error "Conditions cannot be null or empty " for only glue Trigger not for glue job while updating the stack.can you guys please help me?

Related

Azure Logic Apps - How to Disable Service Bus and Recurrence Triggers in VS Code when developing locally?

I am developing a new Logic App in VS Code and created some workflows with Service Bus and Recurrence triggers.
When I run the project, I don't want some of these workflows to run and therefore require selectively disabling them.
By adding below setting in local.settings.json file, you can disable logicapps.
"Workflows.yourworkflowname.FlowState" : "Disabled"
Have created a project in VS code and added two workflows as shown below,
Added configuration in local.settings.json file as shown below,
Once added both recurrence and service bus triggers are not running as shown below,
Note: Here recurrence trigger should run for every 10 sec. As it is in disabled state, recurrence trigger is not triggered.

Custom filter not refreshing on interval in snowflake

I have created custom filter in Snowflake Dashboard using options via Query, Set the refresh frequency as refresh hourly. But the issue is the filter is not adding new values that are coming in the table used in Query.
Did someone faced this issue?
As per Snowflake team this is an open bug and scheduled to be fixed in coming sprints.

Angular.js app with Salesforce platform

I need to create a event app in angular and node.js with login functionality as normal user and salerforce user . How can I create it ? Also I need to manage event on salesforce and update and delete from thre UI .
I want to understand how to create a custom app in angular and how to fetch data from salesforce ? Also how to manage that data on salesforce . I have gone through lot of documents and videos but couldn`t understand how exactly salesforce help me to build my app and can be integrated with it .
Any help appreciated .
If you decide you want to use Angular 2 I have created a boilerplate for getting started. Allows you to develop your application completely locally and deploy to Salesforce only when you want to. https://github.com/iDev0urer/salesforce-angular2-boilerplate
Check out this Node + Salesforce REST quick start: https://www.jamesward.com/2016/01/13/salesforce-rest-apis-from-zero-to-cloud-to-local-dev-in-minutes
That example doesn't use Angular but you could easily add it in. Also check out: http://coenraets.org/blog/2015/12/angular2-rest-salesforce/

Oracle ADF - CommandImageLink is not working

We are developing a web application using Oracle ADF. We have a view object based on query. we drag and dropped this view object as a table in a jsf page(suppose page1). For that table we have added a new column contains a commandImageLink.
From another page we are adding some data to DB using ADF DC, that should be reflected in page1. Actually its not working after that we googled and got solution that if I set CacheResults to false of that table Iterator in Binding layour it will work. I have set to false and reflection is happening.
But my problem is if I set CacheResults to false my commandImageLink is not working. If I set CacheResults to true my commandImageLink is working(navigation is happening).
Please help.
First of all:
I would presume that your page1 is part of a bounded task flow. If you are not, you should refactor your code and move the page in a bounded task flow. I would further presume you are using ADF Business Components for your model layer.
Second of all:
Never use CacheResults=false. That solution is a nonsense from ADF perspective.
Now, your problem is re-querying the table info on page opening, therefore:
Expose View Object Implementation for your VO. Override executeQuery() method in the newly created java class. Expose this method as client method (this should make the method PUBLIC, visible from Data Controls).
drag and drop executeQuery method into your task flow, as method action. Make sure you have this method action as the start activity of your task flow. Furthermore, make sure you are connecting executeQuery() to your page activity in the task flow. This will make sure that every time you open the page, execute query is fired.

Auto populate table after portlet is deployed in liferay

I need a way to automatically populate a table created by the service builder of a portlet that is deployed in liferay. How can I accomplish that? I was thinking of a startup hook, but I won't be able to access the service of the particular portlet. So is there a way to populate it through the portlet itself ?
If you manage to not make the changes destructive (e.g. be careful not to populate on every startup) you can do it in a StartupAction (or startup hook). You can add this hook to your portlet project - this works just fine. Alternatively you could declare a hook to be dependent on a portlet (or vice versa) in liferay-plugin-package.properties - this will make the services available. But for this purpose, I'd just package everything in one portlet plugin.
If you might have destructive changes in there, an Upgrade Action will be a safer bet: This is guaranteed to run only once.
For examples see the old sevencogs sample (let me know if you need pointers, then I'll get them out)
Update: To include such a hook in a portlet project, add WEB-INF/liferay-hook.xml with the following content (or use Liferay IDE's wizard to just add a hook to the project)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.1.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_1_0.dtd">
<hook>
<portal-properties>portal.properties</portal-properties>
</hook>
Also, create WEB-INF/src/portal.properties with the following option
application.startup.events=com.example.MyStartupAction
and, of course, create the mentioned startup action, extending com.liferay.portal.kernel.events.SimpleAction
Try by deleting an entry from servicecomponent table. And redeploy your portlet.
delete FROM servicecomponent where buildNamespace="<your table namespace>"

Resources