Release trigger needs to be tied to the effective date of the policy document - triggers

Release trigger needs to be tied to the effective date of the policy document. A user is unable to see the document until it is effective.
How we need to write program for above requirement.
can anyone help me on this issue.
I am new to this Java, can anyone help please.

Related

Why when someone releases a server-side update, it take long to appear?

I am here to ask a question about server-side updates.
When someone make an update to, for example: A Google Play Store's app, the update do not appear immediately, and takes longer for someone than for others.
Same on websites or webapps: When (for exaple) Google updates the YouTube server-side, they say that it may take longer to be applied on your Account.
Why does this happend?, Is something about CDNs? in that case: How much time does take a CDN to replicate the content from the original server? Isn't that immediate?
Thank you so much, if I made any misstake on the redaction, please feel free to correct it.
Thanks.
the update action itself does not take much time, but when a company makes updates they do not leave them available for everyone, but only for a small group of users for test and feedback and if the group is happy with these changes, the testing circle expands and so on until these updates are available to everyone or maybe not. so that's what takes time!

Office-Js Word Add In: Detect user change in document/ how to use bindingdatachanged functionality

New Office-js user, I'm working on an advanced find and replaced plug in for efficiency purposes, has anyone had any luck detecting a change to a word document? What I'd ideally love is that whenever text is changed/edited, I could trigger my function. I've been looking into addHandlerAsync(Office.EventType.BindingDataChanged, onBindingDataChanged);, but can't seem to figure out the proper use case for this code to attach it to the word document. I also would need a way of caching the before and after state, which I've seen people mention but again haven't seen any code examples for it.
I'm very aware that this will probably cause issues with that frequent running, so equally if anyone had any experience debouncing/throttling events in office js, or delaying them to set intervals that would equally be awesome.
Many thanks in advance!
Office JavaScript API (OfficeJS) doesn't provide any event for handling document changes. You may vote for the existing request file few days ago, see Office.js Word Document content changes for more information.
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

Scorm weekly interactions report in Moodle

I am entirely new to Moodle and have been asked to export the interactions of around 50 quizzes weekly.
For the first week I did it manually but it's a real pain...
I am looking for a way to trigger something to produce and send or save every interactions report on Monday, for example.
I've googled and looked for a solution in the moodle Docs but either I am not looking in the right place, either I am the only one in the world trying to do something of the sort, which I strongly doubt.
I have accees to the database and have got administrator privileges
Any help would be most welcome,
Thank you.

Is there a way to obtain details on triggers in Google Scripts?

Basically I am aiming to make an easier interface for managing time based triggers that control Google Scripts So far I have not found anything that would allow me to get details on the current triggers, specifically trigger times. There seem to only be a handful of methods supporting trigger management currently.
Documentation:
Class Trigger
Thanks for any suggestions or pointers!
The Apps Script documentation also contains Managing Triggers Programmatically, which is a very promising title.
However, this sums it up:
The only way to programmatically modify an existing trigger is to delete it and then create a new one.
Sometimes we find undocumented APIs by playing with auto-completion, but there don't seem to be any for Triggers at this time.
I tried this little gem, hoping to get logs full of trigger information:
var triggers = ScriptApp.getProjectTriggers();
for (var i in triggers) {
Logger.log(Utilities.jsonStringify(triggers[i]));
}
All I got was "Trigger" repeated ad nauseum. So no help there, the Trigger object is locked down.
I'm surprised that there's no request in the Issue Tracker against the Triggers Component to add APIs to get this additional information, or to support more programmability. You should add one, and report it here so others can star it (cast their vote).
Per #Mogsdad 's suggestion I have submitted a feature request via the Issue Tracker
. Please go and cast your vote for this issue and add any other suggestions for the request. The issue is fairly broad and there may be a lot of detailed information that could be useful if the right API is created. So please add comments in the issue tracker if there are parts you feel need to be addressed in an expansion of the current Trigger API.

How to use OpenNTF's "Workflow for XPages"?

Any tips on getting started using the "Workflow for XPages" on OpentNTF? The documentation is pretty high-level, and mostly about the sample app. Page 24 is the only one with info about using the simple workflow engine. I'm digging into the EmployeeReview.nsf example database, but could use some pointers?
One of my developers evaluated the workflow stuff over the last couple of days. Unfortunately, I cannot share the documentation that came out as a result of her efforts.
So the only way for you by now is to analyse the parts of the sample application.
Find the Simple Workflow Control und Workflow Action controls in the sample application and take a look at the source code.
You will see that the Simple Workflow Control deals with persons and roles. Roles in the context of workflow are not ACL Roles. They are roles that ere defined in the configuration ( like [Manager] )
So you need to have some kind of configuration in your application that contains a person name an the role this person has in your workflow. If this person is a manager for example, you have also to describe, which other persons he/she is managing.
Then, in your workflow steps you describe, in which wf state a specific person is involved, what is the next step and if any mail is send around.
Once ayou have done a bit of analysis, you will be able to create your own sample application.
I also hope that there will be more documentation around. I will provide more detailed information about how to use the wf controls, but I'm going on holiday in the next days. So I do not have much time left, to put a manual together.
But looking at the source code should help to understand how all the stuff works.